fix duplicated header reading

This commit is contained in:
Thomas Kriechbaumer 2015-07-24 17:39:55 +02:00
parent dc42e33505
commit 96c9c4459f

View File

@ -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) +