aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Kriechbaumer <thomas@kriechbaumer.name>2015-08-26 09:33:19 +0200
committerThomas Kriechbaumer <thomas@kriechbaumer.name>2015-08-26 13:48:39 +0200
commit158906444f48e5afc164b641bf2021a0d29267ee (patch)
tree72e8e1c9467948d4f98b6f9a392eb81211c5a0a3
parent1093d185ec78cdfff4fb425b902a52f61991cf5e (diff)
downloadmitmproxy-158906444f48e5afc164b641bf2021a0d29267ee.tar.gz
mitmproxy-158906444f48e5afc164b641bf2021a0d29267ee.tar.bz2
mitmproxy-158906444f48e5afc164b641bf2021a0d29267ee.zip
fix return value and empty requests
-rw-r--r--libmproxy/protocol2/http.py1
1 files changed, 1 insertions, 0 deletions
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(