Thu, 12 Jul 2007 22:55:44 -0700 Use wsgi.url_scheme instead of ad-hoc CGI checks.
Wesley J. Landaker <wjl@icecavern.net> [Thu, 12 Jul 2007 22:55:44 -0700] rev 4872
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.
(0) -3000 -1000 -300 -100 -30 -10 -1 +1 +10 +30 +100 +300 tip