mirror of
https://github.com/vasanthk/how-web-works.git
synced 2026-06-16 06:57:05 +08:00
Fix markdown code
This commit is contained in:
@@ -57,11 +57,10 @@ When no protocol or valid domain name is given the browser proceeds to feed the
|
||||
|
||||
## Check HSTS list (deprected)
|
||||
|
||||
~~* The browser checks its "preloaded HSTS (HTTP Strict Transport Security)" list. This is a list of websites that have requested to be contacted via HTTPS only.
|
||||
~* If the website is in the list, the browser sends its request via HTTPS instead of HTTP. Otherwise, the initial request is sent via HTTP.
|
||||
~
|
||||
~Note: The website can still use the HSTS policy without being in the HSTS list. The first HTTP request to the website by a user will receive a response requesting that the user only send HTTPS requests. However, this single HTTP request could potentially leave the user vulnerable to a [downgrade attack](http://www.yourdictionary.com/downgrade-attack), which is why the HSTS list is included in modern web browsers.
|
||||
~~
|
||||
* ~The browser checks its "preloaded HSTS (HTTP Strict Transport Security)" list. This is a list of websites that have requested to be contacted via HTTPS only.~
|
||||
* ~If the website is in the list, the browser sends its request via HTTPS instead of HTTP. Otherwise, the initial request is sent via HTTP.~
|
||||
|
||||
Note: The website can still use the HSTS policy without being in the HSTS list. The first HTTP request to the website by a user will receive a response requesting that the user only send HTTPS requests. However, this single HTTP request could potentially leave the user vulnerable to a [downgrade attack](http://www.yourdictionary.com/downgrade-attack), which is why the HSTS list is included in modern web browsers.
|
||||
|
||||
Modern browsers requests https first
|
||||
|
||||
|
||||
Reference in New Issue
Block a user