You can check if a request is going over https (request.is_https) but it may fail behind a proxy. There is no way to check whether https is available when receiving an http request.
On Feb 28, 4:00 pm, Dirk <dirkl...@gmail.com> wrote: > Is there an automatic, deployment architecture agnostic way to > determine whether web2py is running with SSL support so > message.verify_email and message.resetPassword can be rendered > correctly? This should work for both Rocket and WSGI deployment. > > TIA, > D