mirror of
https://github.com/zhigang1992/mitmproxy.git
synced 2026-04-23 11:56:52 +08:00
Merge pull request #739 from Kriechi/proxy-refactor-cb
fix return value and empty requests
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user