Tests: HTTP header field and value tests.

This commit is contained in:
Andrey Zelenkov
2018-03-16 17:45:25 +03:00
parent 701a54c177
commit f0df93ee3b
2 changed files with 130 additions and 0 deletions

View File

@@ -0,0 +1,7 @@
def application(environ, start_response):
start_response('200', [
('Content-Length', '0'),
('Custom-Header', environ.get('HTTP_CUSTOM_HEADER'))
])
return []