From e8287df3e58ea3d9b0972b32fbb27ffb232d064b Mon Sep 17 00:00:00 2001 From: Channel Cat Date: Thu, 6 Oct 2016 01:23:52 -0700 Subject: [PATCH] Fixed POST request getting JSON --- sanic/request.py | 1 + 1 file changed, 1 insertion(+) diff --git a/sanic/request.py b/sanic/request.py index adfbff1a..97135fe0 100644 --- a/sanic/request.py +++ b/sanic/request.py @@ -1,4 +1,5 @@ from urllib.parse import parse_qs +from ujson import loads as json_loads class Request: __slots__ = ('protocol', 'url', 'headers', 'version', 'method', 'query_string', 'body', 'parsed_json', 'parsed_args')