diff options
author | Thomas Kriechbaumer <thomas@kriechbaumer.name> | 2015-08-21 10:03:57 +0200 |
---|---|---|
committer | Thomas Kriechbaumer <thomas@kriechbaumer.name> | 2015-08-21 10:04:57 +0200 |
commit | cd9701050f58f90c757a34f7e4e6b5711700d649 (patch) | |
tree | a34ce39dc2a260d57873e14e35bfedd1d939c9cb /netlib/http/http1/protocol.py | |
parent | 6fc2ff94694d70426663209e2ded977d9e0ecd3c (diff) | |
download | mitmproxy-cd9701050f58f90c757a34f7e4e6b5711700d649.tar.gz mitmproxy-cd9701050f58f90c757a34f7e4e6b5711700d649.tar.bz2 mitmproxy-cd9701050f58f90c757a34f7e4e6b5711700d649.zip |
read_response depends on request for stream_id
Diffstat (limited to 'netlib/http/http1/protocol.py')
-rw-r--r-- | netlib/http/http1/protocol.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/netlib/http/http1/protocol.py b/netlib/http/http1/protocol.py index dc33a8af..107a48d1 100644 --- a/netlib/http/http1/protocol.py +++ b/netlib/http/http1/protocol.py @@ -136,7 +136,7 @@ class HTTP1Protocol(semantics.ProtocolMixin): def read_response( self, - request_method, + request, body_size_limit, include_body=True, ): @@ -175,7 +175,7 @@ class HTTP1Protocol(semantics.ProtocolMixin): body = self.read_http_body( headers, body_size_limit, - request_method, + request.method, code, False ) |