WIP http server for educational purposes.
mimino [filename]
serves a single file.mimino [dirname]
serves a directory.
- Skim RFCs
- HTTP/1.1 - Syntax & Routing (main)
- HTTP/1.1 - Status Codes, Methods & Headers
- HTTP/1.1 - Authentication
- HTTP/1.1 - ETags & Last-Modified
- HTTP/1.1 - Caching
- HTTP/1.1 - Partial Responses
- list of http rfcs in this wikipedia page
- HTTP 1.0 RFC
- old HTTP 1.1 RFC
- other internet standard RFCs
- Roy Fieldings REST dissertation
- Do SSL (pass certs to cli)
- move (almost) all structs and header contents to mimino.h
- Right now I'm send()ing stuff bit by bit. Need to find out how big an HTTP request can get
- GoodSocket by jart: https://github.com/jart/cosmopolitan/blob/master/libc/sock/goodsocket.c
- read https://developer.mozilla.org/en-US/docs/Web/HTTP