would folks be interested in an "implement a toy version of HTTP/1.1 in a weekend” guide? I'm imagining something super basic (~100 lines of Python, not remotely standards compliant), just a server that opens a TCP socket, takes HTTP requests, and returns responses.
also makes me wonder how complicated it would be to write a toy version of http/2
@b0rk @danfuzz didn’t you just implement something simple from scratch?

@mikemccabe @b0rk My thinger is at a higher layer than what @b0rk is suggesting. Specifically, I use the HTTP* stuff provided by Node.

(That said, many years ago I _did_ build a simple HTTP server from scratch, in Java. Like around 1999 or 2000 maybe? I wouldn't recommend using it at this point!)

archive/tinyweb at main · danfuzz/archive

Archive of inactive projects. Contribute to danfuzz/archive development by creating an account on GitHub.

GitHub