You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
class SiteCheckError(Exception):
pass
def check_no_http(url):
resp = requests.get(url)
resp.raise_for_status()
responses = resp.get('history', ()) + (resp,)
parsedresults = [urlparse.urlparse(h.url) for h in responses]
for pr in parsedresults:
if not 'https' == pr.scheme:
raise SiteCheckError('Non-https scheme found in lookup history')
ssllabs doesn't check if there is a http -> https redirect, so tlsscout should check that.
The text was updated successfully, but these errors were encountered: