comparison mercurial/hgweb/wsgicgi.py @ 10339:23e608f42f2c

fix spaces/identation issues
author Benoit Boissinot <benoit.boissinot@ens-lyon.org>
date Fri, 05 Feb 2010 18:50:08 +0100
parents 25e572394f5c
children a1cb8ca051c0
comparison
equal deleted inserted replaced
10333:b9e44cc97355 10339:23e608f42f2c
28 environ['wsgi.version'] = (1, 0) 28 environ['wsgi.version'] = (1, 0)
29 environ['wsgi.multithread'] = False 29 environ['wsgi.multithread'] = False
30 environ['wsgi.multiprocess'] = True 30 environ['wsgi.multiprocess'] = True
31 environ['wsgi.run_once'] = True 31 environ['wsgi.run_once'] = True
32 32
33 if environ.get('HTTPS','off').lower() in ('on','1','yes'): 33 if environ.get('HTTPS', 'off').lower() in ('on', '1', 'yes'):
34 environ['wsgi.url_scheme'] = 'https' 34 environ['wsgi.url_scheme'] = 'https'
35 else: 35 else:
36 environ['wsgi.url_scheme'] = 'http' 36 environ['wsgi.url_scheme'] = 'http'
37 37
38 headers_set = [] 38 headers_set = []