If the browser receives Strict-Transport-Security response header over https connection, it will record this information and convert all http requests after receiving this header to https requests. Note that this safer than redirecting http request to https request as the initial http request can be intercepted via man in the middle attack.Ie as long as a website has been atleast once accessed over https , the rest of the requests will be made by browser over https.