Fixed POST request getting JSON

This commit is contained in:
Channel Cat 2016-10-06 01:23:52 -07:00
parent d40e750ce6
commit e8287df3e5

View File

@ -1,4 +1,5 @@
from urllib.parse import parse_qs from urllib.parse import parse_qs
from ujson import loads as json_loads
class Request: class Request:
__slots__ = ('protocol', 'url', 'headers', 'version', 'method', 'query_string', 'body', 'parsed_json', 'parsed_args') __slots__ = ('protocol', 'url', 'headers', 'version', 'method', 'query_string', 'body', 'parsed_json', 'parsed_args')