Althttpd: Simple webserver in a single C file
Here is the actual single C-code file: https://sqlite.org/althttpd/file?name=althttpd.cSomething I absolutely love about text based protocols such as HTTP/1 is how easy you can implement it in any virtually programming language. Sure, the implementation is not top-of-the-notch, but it just damned works, it is portable, it is understandable by humans. That's something what's got lost with HTTP/2 and HTTP/3, respectively.