tillerlabs/flask-sslify — pull request #1 by tilleralvin (2014-01-13 19:21:44+00:00)
Title: Add USE_SSL Flask config variable to turn on/off SSL instead of only app.debug

Proposing adding some sort of Flask config variable/flag to force SSL redirect on or off. I think this is useful for a case where you have a staging server, where you might want SSL but want to also have debug enabled, for debugging server exceptions.

If USE_SSL is not defined, default to the previous logic of looking at app.debug