Build an HTTP Web Server

request parsing, routing, middleware

Challenge 2 of Networking & ProtocolsIntermediate~60 min

Build a web server from the request line up: parse raw HTTP requests, serialize responses, route by method and path, extract path parameters, and run a middleware chain, all without touching a socket.

5 steps

  1. 1Parsing the Request
  2. 2Building the Response
  3. 3Routing
  4. 4Path Parameters
  5. 5Middleware
Start step 1