Date: Mon, 15 Jul 2019 03:15:53 GMT
<p> </p> <p>HTTP is a protocol for transferring web pages, text, media, binary files and much more. It stands for hyper text transfer protocol and It is what the Internet pretty much runs on. In this video we will learn how HTTP works, how it is secured with HTTPS, will also show how to spin up an Http web server, and we will also go through the evolution of HTTP starting from HTTP 1.0 to HTTP 1.1 to HTTP/2 and eventually HTTP/3 which is still experimental. </p> <p><br /></p> <p> </p> <p>HTTP anatomy </p> <p>Request (browser, web app) </p> <ul> <li>URL</li> <li>Method type</li> <li>Headers</li> <li>Body</li> </ul> <p>Response (web server) </p> <ul> <li>Status code</li> <li>Headers</li> <li>Body </li> </ul> <p>HTTP 1.0 over tcp</p> <ul> <li>Application Layer 7</li> <li>new connection with each request. </li> </ul> <p>HTTP 1.1 over tcp</p> <ul> <li>Persisted connection </li> </ul> <p>HTTP/2 over tcp</p> <ul> <li>Compression</li> <li>Multiplexing</li> <li>Server Push</li> <li>SPDY</li> <li>Mostly secure by default</li> <li>Negotiates protocol during TLS (NPN/ALPN)</li> </ul> <p>HTTP/2 over QUIC ( HTTP/3) </p> <ul> <li>Replaces TCP with QUIC (udp with congestion control) </li> </ul>