diff options
Diffstat (limited to 'test/python/custom_header')
-rw-r--r-- | test/python/custom_header/wsgi.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/python/custom_header/wsgi.py b/test/python/custom_header/wsgi.py new file mode 100644 index 00000000..44f145d1 --- /dev/null +++ b/test/python/custom_header/wsgi.py @@ -0,0 +1,7 @@ +def application(environ, start_response): + + start_response('200', [ + ('Content-Length', '0'), + ('Custom-Header', environ.get('HTTP_CUSTOM_HEADER')) + ]) + return [] |