The whole build laid out in order: each stage is the wall the one before it hit.
Before you start. This series builds a small copy of an HTTP server: a program that answers when a browser (or curl, or another program) asks it for something, by reading a short text question off the network and writing a short text answer back. You don’t need to know any of that text shape yet, only that two programs can send each other bytes over a wire, the way a phone call carries a voice both ways.
Code:teaching/code/from-scratch/http/: one Go module, each stage a real
server: go run ./01-socket … go run ./07-chunked, then curl -i localhost:8080
or open it in a browser. No net/http: that’s the whole point.
Lesson 13 of 117 in From Scratch
The rest of this lesson is part of a plan.
A plan opens every lesson, board, video, lab and paper on chalk. Yearly is $39/year.