adsabs / adsws

ADS web services
Other
2 stars 15 forks source link

Add sslify option to app (redirect all requests if not request.is_secure... #16

Closed vsudilov closed 9 years ago

vsudilov commented 9 years ago

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

coveralls commented 9 years ago

Coverage Status

Coverage decreased (-0.01%) when pulling fd49d2eafb5dc9c9bce0cc58a1c5f783735f6415 on vss into 950da1efdfd7d951ff5a85a70e642e156b4c0e0d on master.