adsabs/adsws — pull request #16 by vsudilov (2014-10-24 18:50:26+00:00)
Title: Add sslify option to app (redirect all requests if not request.is_secure...

I did not write any tests against the 3rd party library flask-sslify.

The code just registers an app.before_request function that checks headers and redirects to https.

https://github.com/kennethreitz/flask-sslify