Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Consider HTTP status code when checking for HTTPS availability #15

Open
vcsjones opened this issue Nov 15, 2016 · 0 comments
Open

Consider HTTP status code when checking for HTTPS availability #15

vcsjones opened this issue Nov 15, 2016 · 0 comments

Comments

@vcsjones
Copy link

vcsjones commented Nov 15, 2016

When Alt+Clicking a link in MoarTLS, it will show a "green" arrow for upgradability for any status code. This is a broader request to #13.

I would propose the following rules.

  • >= 400 means it is not upgradable.
  • 301, 302, 307, and 308 are not upgradable if the Location is for the same URL with an HTTP scheme. Many sites don't "officially" support HTTPS, but have HTTPS -> HTTP redirects anyway to "fix" those links, anyway. Otherwise, if the Location is HTTPS, then mark as upgradable.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant