aboutsummaryrefslogtreecommitdiffstats
path: root/libmproxy/protocol/http_wrappers.py
diff options
context:
space:
mode:
Diffstat (limited to 'libmproxy/protocol/http_wrappers.py')
-rw-r--r--libmproxy/protocol/http_wrappers.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/libmproxy/protocol/http_wrappers.py b/libmproxy/protocol/http_wrappers.py
index e41d65d6..f91b936c 100644
--- a/libmproxy/protocol/http_wrappers.py
+++ b/libmproxy/protocol/http_wrappers.py
@@ -352,12 +352,12 @@ class HTTPResponse(MessageMixin, semantics.Response):
def from_protocol(
self,
protocol,
- request_method,
+ request,
include_body=True,
body_size_limit=None
):
resp = protocol.read_response(
- request_method,
+ request,
body_size_limit,
include_body=include_body
)