mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-27 02:24:18 +00:00
remove debug prints
This commit is contained in:
parent
1a9c1a8c2d
commit
3cf6bd5fb6
@ -133,7 +133,6 @@ class PathodHandler(tcp.BaseHandler):
|
|||||||
return None, None
|
return None, None
|
||||||
|
|
||||||
if isinstance(req, http.ConnectRequest):
|
if isinstance(req, http.ConnectRequest):
|
||||||
print([req.host, req.port, req.path])
|
|
||||||
return self.protocol.handle_http_connect([req.host, req.port, req.path], lg)
|
return self.protocol.handle_http_connect([req.host, req.port, req.path], lg)
|
||||||
|
|
||||||
method = req.method
|
method = req.method
|
||||||
|
@ -284,5 +284,4 @@ class TestHTTP2(tutils.DaemonTests):
|
|||||||
|
|
||||||
def test_http2(self):
|
def test_http2(self):
|
||||||
r, _ = self.pathoc(["GET:/"], ssl=True, use_http2=True)
|
r, _ = self.pathoc(["GET:/"], ssl=True, use_http2=True)
|
||||||
print(r)
|
|
||||||
assert r[0].status_code == "800"
|
assert r[0].status_code == "800"
|
||||||
|
Loading…
Reference in New Issue
Block a user