Tests: "Host" header tests.
This commit is contained in:
7
test/python/host/wsgi.py
Normal file
7
test/python/host/wsgi.py
Normal file
@@ -0,0 +1,7 @@
|
||||
def application(env, start_response):
|
||||
start_response('200', [
|
||||
('Content-Length', '0'),
|
||||
('X-Server-Name', env.get('SERVER_NAME')),
|
||||
('X-Http-Host', str(env.get('HTTP_HOST')))
|
||||
])
|
||||
return []
|
||||
Reference in New Issue
Block a user