From 7d8191ee37a4e085d23217f85e41f4da4c9e4069 Mon Sep 17 00:00:00 2001 From: Maximilian Hils Date: Thu, 8 Oct 2015 12:43:55 +0200 Subject: update web builds, use watchify --- libmproxy/web/app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libmproxy/web/app.py') diff --git a/libmproxy/web/app.py b/libmproxy/web/app.py index 58dc77e7..5c80584d 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.content) + return json.loads(self.request.body) @property def state(self): -- cgit v1.2.3