diff options
Diffstat (limited to 'libmproxy/web/app.py')
-rw-r--r-- | libmproxy/web/app.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libmproxy/web/app.py b/libmproxy/web/app.py index 5c80584d..58dc77e7 100644 --- a/libmproxy/web/app.py +++ b/libmproxy/web/app.py @@ -29,7 +29,7 @@ class RequestHandler(tornado.web.RequestHandler): def json(self): if not self.request.headers.get("Content-Type").startswith("application/json"): return None - return json.loads(self.request.body) + return json.loads(self.request.content) @property def state(self): |