Tests: HTTP header field and value tests.
This commit is contained in:
7
test/python/custom_header/wsgi.py
Normal file
7
test/python/custom_header/wsgi.py
Normal file
@@ -0,0 +1,7 @@
|
||||
def application(environ, start_response):
|
||||
|
||||
start_response('200', [
|
||||
('Content-Length', '0'),
|
||||
('Custom-Header', environ.get('HTTP_CUSTOM_HEADER'))
|
||||
])
|
||||
return []
|
||||
Reference in New Issue
Block a user