aboutsummaryrefslogtreecommitdiffstats
path: root/pathod/protocols/http.py
diff options
context:
space:
mode:
Diffstat (limited to 'pathod/protocols/http.py')
-rw-r--r--pathod/protocols/http.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/pathod/protocols/http.py b/pathod/protocols/http.py
index 6eefb34f..7736df4b 100644
--- a/pathod/protocols/http.py
+++ b/pathod/protocols/http.py
@@ -1,6 +1,7 @@
+from netlib import version
from netlib.exceptions import TlsException
from netlib.http import http1
-from .. import version, language
+from .. import language
class HTTPProtocol(object):
@@ -17,7 +18,7 @@ class HTTPProtocol(object):
self.pathod_handler.wfile.write(
'HTTP/1.1 200 Connection established\r\n' +
- ('Proxy-agent: %s\r\n' % version.NAMEVERSION) +
+ ('Proxy-agent: %s\r\n' % version.PATHOD) +
'\r\n'
)
self.pathod_handler.wfile.flush()