In trunk we have

request.is_https

Massimo

On May 24, 4:33 pm, Andrew Thompson <[email protected]> wrote:
> On 5/24/2011 5:02 PM, pbreit wrote:
>
> > Does " request.env.https" exist? I don't see it in my environment.
>
> It does for me, running web2py behind lighttpd.
>
> I also found a reference to request.env.wsgi_url_scheme, but I wasn't
> sure if it's content could be 99+% predicted.
>
> http://comments.gmane.org/gmane.comp.python.web2py/44684
>
>
>
> > I don't think https is necessary for those links. And if it is, your
> > web server or code should be enforcing SSL on the URLs.
>
> That'd work too. My dev sites exist only as https sites, zero http access.
>
> --
> Andrew Thompsonhttp://aktzero.com/

Reply via email to