From 158906444f48e5afc164b641bf2021a0d29267ee Mon Sep 17 00:00:00 2001 From: Thomas Kriechbaumer Date: Wed, 26 Aug 2015 09:33:19 +0200 Subject: fix return value and empty requests --- libmproxy/protocol2/http.py | 1 + 1 file changed, 1 insertion(+) diff --git a/libmproxy/protocol2/http.py b/libmproxy/protocol2/http.py index 5a25c317..952f6246 100644 --- a/libmproxy/protocol2/http.py +++ b/libmproxy/protocol2/http.py @@ -78,6 +78,7 @@ class Http2Layer(Layer): body_size_limit=self.config.body_size_limit ) self._stream_id = request.stream_id + return request def read_from_server(self, request_method): return HTTPResponse.from_protocol( -- cgit v1.2.3