You, Too, Can Be A Webserver
summary
Live command‑line experiments show how to speak HTTP directly: using netcat as a tiny webserver and typing raw HTTP/1.1 requests reveals headers, cookies set with a Set-Cookie header and how browsers send subsequent requests. Examples include manual HTML/CSS round trips, XHR with Access-Control-Allow-Origin for cross‑site JS, and why HTTP/2 pushes assets to avoid extra round trips. A saved file sent over netcat demonstrates binary responses and simple debugging.
AI-written summary · about
chapters (9)
- 0:00Introduction
- 2:04Client-server with netcat
- 4:13Basic web server response
- 7:47Dynamic HTML with netcat
- 10:41Optimizing round trips
- 11:23HTTP cookies
- 13:10JavaScript and CORS
- 16:26HTTP/2 benefits
- 19:15Binary data with netcat








