emmett-framework / emmett

The web framework for inventors
BSD 3-Clause "New" or "Revised" License
1.06k stars 71 forks source link

Option to enforce SSL #137

Closed GiantCrocodile closed 8 years ago

GiantCrocodile commented 8 years ago

I suggest that we have an option to enforce site-wide SSL/https.

gi0baro commented 8 years ago

@GiantCrocodile I need more context about this. Should be enforced with a variable of the router? Let's say:

app.route.https_only = True

Should be enforced on the debugging server?

I usually enforce it on the webserver in production..

GiantCrocodile commented 8 years ago

I will close this now as I don't think it is relevant anymore.