mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-27 02:24:18 +00:00
fix duplicated header reading
This commit is contained in:
parent
dc42e33505
commit
96c9c4459f
@ -41,7 +41,7 @@ class HTTPProtocol:
|
||||
"""
|
||||
Handle a CONNECT request.
|
||||
"""
|
||||
self.wire_protocol.read_headers()
|
||||
|
||||
self.pathod_handler.wfile.write(
|
||||
'HTTP/1.1 200 Connection established\r\n' +
|
||||
('Proxy-agent: %s\r\n' % version.NAMEVERSION) +
|
||||
|
Loading…
Reference in New Issue
Block a user