News for hackers. Stuff that matters.
Re:Fencing Your SSL Errors With HSTS by ch0wn on Sunday January 20, 2013 @08:51AM (#5086873)
And for Flask users there is flask-sslify[0] by Kenneth Reitz for this.

[0] https://github.com/kennethreitz/flask-sslify

Re:Fencing Your SSL Errors With HSTS by Kudos on Sunday January 20, 2013 @09:29AM (#5086995)
I presume something like this is only useful for services like Heroku where you can't set it in your webserver directly?
Re:Fencing Your SSL Errors With HSTS by MichaelGG on Sunday January 20, 2013 @11:21AM (#5087272)
It's also useful if your app requirements trump deployment requirements. You might want a particular app to always require SSL, regardless of how it is deployed.