I built an HTTP server from scratch in Python to learn how HTTP really works
A step-by-step build of an HTTP/1.1 server in standard library Python, covering requests, routing, keep-alive, caching, and common security traps.

A step-by-step build of an HTTP/1.1 server in standard library Python, covering requests, routing, keep-alive, caching, and common security traps.

Follow one request from your keyboard to your screen: DNS, TCP, TLS, HTTP and rendering, explained step by step in plain English.

TCP, UDP, HTTP, DNS and more: the eight protocols behind almost everything you do online, explained in plain words with diagrams and commands you can try.

A first-principles walkthrough of what happens when you hit Enter—from DNS resolution and TCP handshakes to TLS, HTTP, and the round trips behind web performance.
