mercurial/hgweb/wsgicgi.py
changeset 10339 23e608f42f2c
parent 10263 25e572394f5c
child 10753 a1cb8ca051c0
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 = []