not-kennethreitz / flask-sslify

Force SSL on your Flask app.
https://pypi.python.org/pypi/Flask-SSLify
BSD 2-Clause "Simplified" License
504 stars 85 forks source link

Support for Google App Engine #38

Open pavelkraleu opened 8 years ago

pavelkraleu commented 8 years ago

Backend tasks shouldn’t be redirected to SSL

pavelkraleu commented 8 years ago

These are App engine headers added only to backend (cron) tasks https://cloud.google.com/appengine/docs/python/taskqueue/overview-push?hl=en#task_request_headers https://cloud.google.com/appengine/docs/python/config/cron?hl=en#Python_app_yaml_Securing_URLs_for_cron

mritchie712 commented 7 years ago

is this going to be merged? Seems like a straight forward change.

Edit - This works fine for my use case sslify = SSLify(app, skips=['mypath', 'anotherpath']) since my cron jobs only hit end points that aren't public

Projjol-zz commented 5 years ago

@pavelkraleu if you'd resolve the merge conflicts, I can go ahead and merge your changes, thanks 👍