aboutsummaryrefslogtreecommitdiffstats
path: root/server.py
diff options
context:
space:
mode:
Diffstat (limited to 'server.py')
-rw-r--r--server.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/server.py b/server.py
index 3a55eae..5b20814 100644
--- a/server.py
+++ b/server.py
@@ -42,7 +42,7 @@ def proxy_site(env, start_response):
url += '?' + env['QUERY_STRING']
req = urllib.request.Request(url, headers=headers)
response = urllib.request.urlopen(req, timeout = 10)
- start_response('200 OK', () )
+ start_response('200 OK', response.getheaders() )
return response.read()
site_handlers = {