An HTTP Server in Nine Lines and No Framework
Building a real HTTP server with only the standard library: the Handler interface, ResponseWriter and Request, why writing a body auto-sends a 200, and the WriteHeader ordering rule that silently drops your headers. Compiled and run against Go 1.26.5.