diff options
author | Max Romanov <max.romanov@nginx.com> | 2020-09-21 10:32:14 +0300 |
---|---|---|
committer | Max Romanov <max.romanov@nginx.com> | 2020-09-21 10:32:14 +0300 |
commit | af964488bad7fe00855749520d929ea1cb0de9d4 (patch) | |
tree | 4a6f961f6197c9e26b3b3d667c41e0c39e0d90e3 /test/python/callable | |
parent | 7842c2d980512c10e23317da6261dad6bb9dffcc (diff) | |
download | unit-af964488bad7fe00855749520d929ea1cb0de9d4.tar.gz unit-af964488bad7fe00855749520d929ea1cb0de9d4.tar.bz2 |
Tests: changing Python application callable name.
Diffstat (limited to 'test/python/callable')
-rw-r--r-- | test/python/callable/wsgi.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/python/callable/wsgi.py b/test/python/callable/wsgi.py new file mode 100644 index 00000000..365f82fa --- /dev/null +++ b/test/python/callable/wsgi.py @@ -0,0 +1,7 @@ +def application(env, start_response): + start_response('204', [('Content-Length', '0')]) + return [] + +def app(env, start_response): + start_response('200', [('Content-Length', '0')]) + return [] |