Redirection from http to https
Closes #33
This MR tries to redirect http
and https
according to the way the server is configured.
- I have used the recipe from https://stackoverflow.com/questions/32237379/python-flask-redirect-to-https-from-http
- But it looks like a gevent ready server have to be used, else
before_request
is not catched -
websocketio
is broken -
According to warning https://pypi.org/project/gevent-websocket have to be used instead