Open retrohacker opened 8 years ago
@phoenix1796 want to take a pass at this? It touches a little bit of the UI layer and (potentially) the protocol layer.
Tried this , but , now if we choose https as the default protocol and navigate to a site with only http support (For example , will.blankenship.io/peerweb/) . it displays a blank page instead of automatically redirecting to the http variant . But , atleast for now , URLs like google.com , fb.com etc. open up fine.
Awesomesauce! That is fine for me right now. I wonder how web browsers do it? Do they assume http and let 3XX redirects handle passing the user to HTTPS?
Firefox gives a warning about the page not being secure and stops us there , Same goes for Chrome (It tells us "Your connection is not private" and stops us there)
To start out, we could simply assume that
https
was the default protocol. Moving forward, we could make it a little more intelligent.Repro:
www.webtorrent.io
http://www.webtorrent.io