How to get request body with content-type: Application/json
using python httptools?
I`m using it with uvloop.
The request class looks like this:
class HttpRequest:
__slots__ = ('_protocol', '_url', '_headers', '_version')
def __init__(self, protocol, url, headers, version):
self._protocol = protocol
self._url = url
self._headers = headers
self._version = version