changeset 10339 | 23e608f42f2c |
parent 10263 | 25e572394f5c |
child 10753 | a1cb8ca051c0 |
--- a/mercurial/hgweb/wsgicgi.py Wed Feb 03 16:09:19 2010 +0000 +++ b/mercurial/hgweb/wsgicgi.py Fri Feb 05 18:50:08 2010 +0100 @@ -30,7 +30,7 @@ environ['wsgi.multiprocess'] = True environ['wsgi.run_once'] = True - if environ.get('HTTPS','off').lower() in ('on','1','yes'): + if environ.get('HTTPS', 'off').lower() in ('on', '1', 'yes'): environ['wsgi.url_scheme'] = 'https' else: environ['wsgi.url_scheme'] = 'http'