summaryrefslogtreecommitdiffhomepage
path: root/test/python/204_no_content
diff options
context:
space:
mode:
authorAndrey Zelenkov <zelenkov@nginx.com>2018-02-20 20:34:41 +0300
committerAndrey Zelenkov <zelenkov@nginx.com>2018-02-20 20:34:41 +0300
commit09f2009df564ab2063ee4713ba24247039945146 (patch)
tree5c719060dd4af2ca932da96d93d77eeebc6c5f25 /test/python/204_no_content
parentbabf67712e4226527730e2fb8c96babdf5486ca5 (diff)
downloadunit-09f2009df564ab2063ee4713ba24247039945146.tar.gz
unit-09f2009df564ab2063ee4713ba24247039945146.tar.bz2
Tests: reworked python tests with application.
Diffstat (limited to 'test/python/204_no_content')
-rw-r--r--test/python/204_no_content/wsgi.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/python/204_no_content/wsgi.py b/test/python/204_no_content/wsgi.py
new file mode 100644
index 00000000..2184ffeb
--- /dev/null
+++ b/test/python/204_no_content/wsgi.py
@@ -0,0 +1,4 @@
+def application(environ, start_response):
+
+ start_response('204 No Content', [])
+ return []