diff options
Diffstat (limited to 'libpathod/protocols/http.py')
-rw-r--r-- | libpathod/protocols/http.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libpathod/protocols/http.py b/libpathod/protocols/http.py index 82595126..ca2b28b4 100644 --- a/libpathod/protocols/http.py +++ b/libpathod/protocols/http.py @@ -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) + |