Week 3 — 13 / 37

Serving Static Files

HTTP request comes in
Parse out the PATH
Does that path match a file on the local filesystem?
If yes, read that file and send its contents as the body of a new Response
If no, send a 404 Response

Diagram: Serving Static HTML over HTTP