Episode 102 - The Evolution of HTTP (HTTP 1.0, 1.1, HTTP/2, HTTP/3)

The Backend Engineering Show with Hussein Nasser

Episode | Podcast

Date: Mon, 15 Jul 2019 03:15:53 GMT

<p>&nbsp;</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.&nbsp;</p> <p><br /></p> <p>&nbsp;</p> <p>HTTP anatomy&nbsp;</p> <p>Request (browser, web app)&nbsp;</p> <ul> <li>URL</li> <li>Method type</li> <li>Headers</li> <li>Body</li> </ul> <p>Response (web server)&nbsp;</p> <ul> <li>Status code</li> <li>Headers</li> <li>Body&nbsp;</li> </ul> <p>HTTP 1.0 over tcp</p> <ul> <li>Application Layer 7</li> <li>new connection with each request.&nbsp;</li> </ul> <p>HTTP 1.1 over tcp</p> <ul> <li>Persisted connection&nbsp;</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)&nbsp;</p> <ul> <li>Replaces TCP with QUIC (udp with congestion control)&nbsp;</li> </ul>