diff options
Diffstat (limited to 'mitmproxy/proxy/protocol/http1.py')
-rw-r--r-- | mitmproxy/proxy/protocol/http1.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mitmproxy/proxy/protocol/http1.py b/mitmproxy/proxy/protocol/http1.py index 713c48a7..b1fd0ecd 100644 --- a/mitmproxy/proxy/protocol/http1.py +++ b/mitmproxy/proxy/protocol/http1.py @@ -9,7 +9,7 @@ class Http1Layer(httpbase._HttpTransmissionLayer): super().__init__(ctx) self.mode = mode - def read_request_headers(self): + def read_request_headers(self, flow): return http.HTTPRequest.wrap( http1.read_request_head(self.client_conn.rfile) ) |