##// END OF EJS Templates
Use wsgi.url_scheme instead of ad-hoc CGI checks....
Use wsgi.url_scheme instead of ad-hoc CGI checks. Instead of each place in hgweb_mod that needs to check for SSL or get the protocol scheme (http vs. https) doing it ad-hoc, make them just look at the wsgi.url_scheme which because of previous patches is now always set correctly.
Wesley J. Landaker -
r4872:419a6f71 default
Show More
Name Size Modified Last Commit Author
/ hgext / convert
__init__.py Loading ...
common.py Loading ...
cvs.py Loading ...
git.py Loading ...
hg.py Loading ...
subversion.py Loading ...
transport.py Loading ...