Commit 912b2356 authored by Denis Bilenko's avatar Denis Bilenko

do not set GATEWAY_INTERFACE every time, it is set by the server

parent 0541f43b
......@@ -467,7 +467,6 @@ class WSGIHandler(object):
env['SERVER_NAME'] = host
env['SERVER_PORT'] = str(port)
env['REMOTE_ADDR'] = self.client_address[0]
env['GATEWAY_INTERFACE'] = 'CGI/1.1'
for header in self.headers.headers:
key, value = header.split(':', 1)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment