summaryrefslogtreecommitdiffhomepage
path: root/test/python/mirror/wsgi.py
diff options
context:
space:
mode:
authorAndrey Zelenkov <zelenkov@nginx.com>2019-04-09 20:59:35 +0300
committerAndrey Zelenkov <zelenkov@nginx.com>2019-04-09 20:59:35 +0300
commit29b4e4431fe43f9ac969a1cdb67478da8c5dcc1e (patch)
treef1b8944daa883776d672e3ffb7d37009f0004462 /test/python/mirror/wsgi.py
parent549f0873c2beed9517fb4006e1f0a63e0019abb3 (diff)
downloadunit-29b4e4431fe43f9ac969a1cdb67478da8c5dcc1e.tar.gz
unit-29b4e4431fe43f9ac969a1cdb67478da8c5dcc1e.tar.bz2
Tests: speed up tests.
Diffstat (limited to '')
-rw-r--r--test/python/mirror/wsgi.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/test/python/mirror/wsgi.py b/test/python/mirror/wsgi.py
index e4df67ec..eb1fb922 100644
--- a/test/python/mirror/wsgi.py
+++ b/test/python/mirror/wsgi.py
@@ -4,7 +4,6 @@ def application(environ, start_response):
body = bytes(environ['wsgi.input'].read(content_length))
start_response('200', [
- ('Content-Type', environ.get('CONTENT_TYPE')),
('Content-Length', str(len(body)))
])
return [body]