diff --git a/.venv/lib64 b/.venv/lib64 new file mode 120000 index 00000000000..7951405f85a --- /dev/null +++ b/.venv/lib64 @@ -0,0 +1 @@ +lib \ No newline at end of file diff --git a/.venv/pip-selfcheck.json b/.venv/pip-selfcheck.json new file mode 100644 index 00000000000..d0fe1b9ae39 --- /dev/null +++ b/.venv/pip-selfcheck.json @@ -0,0 +1 @@ +{"last_check":"2015-11-18T19:59:32Z","pypi_version":"7.1.2"} \ No newline at end of file diff --git a/.venv/pyvenv.cfg b/.venv/pyvenv.cfg new file mode 100644 index 00000000000..842bbc1c5bb --- /dev/null +++ b/.venv/pyvenv.cfg @@ -0,0 +1,3 @@ +home = /usr/bin +include-system-site-packages = false +version = 3.4.3 diff --git a/aiohttp/wsgi.py b/aiohttp/wsgi.py index 7f172d32fac..841ce14dc73 100644 --- a/aiohttp/wsgi.py +++ b/aiohttp/wsgi.py @@ -66,9 +66,7 @@ def create_wsgi_environ(self, message, payload): script_name = self.SCRIPT_NAME for hdr_name, hdr_value in message.headers.items(): - if hdr_name == 'AUTHORIZATION': - continue - elif hdr_name == 'SCRIPT_NAME': + if hdr_name == 'SCRIPT_NAME': script_name = hdr_value elif hdr_name == 'CONTENT-TYPE': environ['CONTENT_TYPE'] = hdr_value