web2py/web2py — pull request #9 by michele-comitini (2012-05-15 20:46:11+00:00)
Title: speedup and simplify https detection

The code in appadmin was almost redundant to that in gluon/main.py, but did not handle all cases.
This also speeds up things a bit.