Lesson 3: HTTP types

Contents
  • Reading assignment
  • Request and Response
  • Request line
  • Status line
  • Header fields
  • Message body
  • HTTP version
  • Digit
Video
  • 14 minutes

In lesson 2, we started considering very basic web servers that only send one fixed response. This is the response we wrote for our example:

We don’t want to write any more HTTP responses “by hand” – So now let’s look at what the format is, in general, so we can codify it in Haskell.

Sign up for access to the full page, plus the complete archive and all the latest content.