Before you start. This series builds a small copy of a web server: a program that reads a request coming in over a network and sends back the right answer. So far it can open a connection, read the words a browser sends, and know exactly where they stop. This stage decides who answers a finished request, and what a correct answer even looks like.
Lesson 17 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.
Or start free: a free account opens lessons 2 and 3 of every track.
In this lesson
1993: a page that has to run, not just sit there
The map, and the trap that lives in it
The reply nobody checks
The one function that refuses to lie
Registering routes, and why order cannot be the tie-breaker
The reply: a status line, then a contract
The writer that refuses to lie
What running it caught
What this board leaves behind
Terms it explains: server, request, bytes, handler, route, router, headers, status code, method, prefix, parameter, left to right, radix trie, cannot, 303 See Other, MUST.