diff options
author | Oisin Canty <o.canty@f5.com> | 2021-05-20 13:03:12 +0000 |
---|---|---|
committer | Oisin Canty <o.canty@f5.com> | 2021-05-20 13:03:12 +0000 |
commit | e50bb120e2a2dfad55d28724133656264ef13dc8 (patch) | |
tree | 53a115359a9ad7d1f60f5dadb6f88a431a9eb563 /test/python/targets/wsgi.py | |
parent | f60389a782470e31dc555ab864784b536f2544ca (diff) | |
download | unit-e50bb120e2a2dfad55d28724133656264ef13dc8.tar.gz unit-e50bb120e2a2dfad55d28724133656264ef13dc8.tar.bz2 |
Tests: Python targets.
Diffstat (limited to 'test/python/targets/wsgi.py')
-rw-r--r-- | test/python/targets/wsgi.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/python/targets/wsgi.py b/test/python/targets/wsgi.py new file mode 100644 index 00000000..fa17ab87 --- /dev/null +++ b/test/python/targets/wsgi.py @@ -0,0 +1,8 @@ +def wsgi_target_a(env, start_response): + start_response('200', [('Content-Length', '1')]) + return [b'1'] + + +def wsgi_target_b(env, start_response): + start_response('200', [('Content-Length', '1')]) + return [b'2'] |