diff options
author | Andrey Zelenkov <zelenkov@nginx.com> | 2018-02-20 20:34:41 +0300 |
---|---|---|
committer | Andrey Zelenkov <zelenkov@nginx.com> | 2018-02-20 20:34:41 +0300 |
commit | 09f2009df564ab2063ee4713ba24247039945146 (patch) | |
tree | 5c719060dd4af2ca932da96d93d77eeebc6c5f25 /test/python/query_string | |
parent | babf67712e4226527730e2fb8c96babdf5486ca5 (diff) | |
download | unit-09f2009df564ab2063ee4713ba24247039945146.tar.gz unit-09f2009df564ab2063ee4713ba24247039945146.tar.bz2 |
Tests: reworked python tests with application.
Diffstat (limited to '')
-rw-r--r-- | test/python/query_string/wsgi.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/python/query_string/wsgi.py b/test/python/query_string/wsgi.py new file mode 100644 index 00000000..90f1c7ec --- /dev/null +++ b/test/python/query_string/wsgi.py @@ -0,0 +1,7 @@ +def application(environ, start_response): + + start_response('200', [ + ('Content-Length', '0'), + ('Query-String', environ.get('QUERY_STRING')) + ]) + return [] |