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 0ed6c01e..1f1765cb 100644 --- a/libpathod/protocols/http.py +++ b/libpathod/protocols/http.py @@ -23,7 +23,7 @@ class HTTPProtocol(object): msg="Access denied: web interface disabled" ) lg("app: %s %s" % (method, path)) - req = wsgi.Request("http", method, path, headers, body) + req = wsgi.Request("http", method, path, b"HTTP/1.1", headers, body) flow = wsgi.Flow(self.pathod_handler.address, req) sn = self.pathod_handler.connection.getsockname() a = wsgi.WSGIAdaptor( |