Oddbean new post about | logout
 i'm thinking of writing an  "implement a toy version of HTTP in a weekend” guide, similar to https://implement-dns.wizardzines.com/, but not sure what would be fun to include

thinking of:

1. sending a simple HTTP GET or POST request over a TCP socket
2. some very very basic header/status code parsing

what would you be interested in seeing in there, if you're curious to learn more about HTTP? As usual the goal is just to write a fun throwaway implementation, not something resilient 
 Maybe some content, so html as well? The simplest client would probably just need to know the most basic elements, at most, title, h1, h2, p (effectively line breaks), or br, b and i. All rendered to the terminal...