Fixed POST request getting JSON
This commit is contained in:
parent
d40e750ce6
commit
e8287df3e5
|
@ -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')
|
||||||
|
|
Loading…
Reference in New Issue
Block a user