http-serve
http-serve copied to clipboard
Rust helpers for conditional GET, HEAD, byte range serving, and gzip content encoding for static files and more with hyper and tokio.
Support serving a full directory tree from the local filesystem (and eventually also from data baked into the binary for easy release builds). Some things I'd like it to do:...
Currently use of `http_serve::{serve, Entity}` requires that the length be known in advance. However, there are useful scenarios in which this is not true: * https://www.akamai.com/blog/performance/-using-ll-hls-with-byte-range-addressing-to-achieve-interoperabi * https://datatracker.ietf.org/doc/html/rfc8673 What sort...