Skip to content
Sign inGet all access

HTTPFree

The protocol on the wire: requests, caching, streaming, TLS and HTTP/2.

13 chapters · ~3 hours · free end to end

Chapters

  1. 01What HTTP IsA text protocol over a socket, and the three tools to read it.8 minFree→
  2. 02A Request by HandTyping the protocol into a socket, byte for byte.14 minFree→
  3. 03MethodsWhat you are asking the server to do, and the three properties that matter.12 minFree→
  4. 04Status CodesThe five classes, and the dozen worth knowing by heart.14 minFree→
  5. 05Headers and BodiesFraming, chunked encoding, form encoding and multipart uploads.20 minFree→
  6. 06CachingETag, Cache-Control, revalidation and the real 304.16 minFree→
  7. 07ConnectionsKeep-alive, head-of-line blocking, and the socket underneath.8 minFree→
  8. 08Streaming and Persistent ConnectionsLong polling, Server-Sent Events, and the WebSocket upgrade.14 minFree→
  9. 09Authentication and StateAuthorization, bearer tokens, cookies and sessions.10 minFree→
  10. 10TLSWhat the handshake exchanges, and how to read s_client output.10 minFree→
  11. 11Cookies, CORS and Security HeadersThe browser's rules, and why curl cannot reproduce them.12 minFree→
  12. 12HTTP/2 and HTTP/3The same semantics, different bytes — and what to actually do.8 minFree→
  13. 13Debugging HTTPA method for any HTTP bug, and a checklist to work down.8 minFree→