Open jimblandy opened 2 years ago
At the moment, serve_file hard-codes some rules for producing MIME types. Surely there's a crate that does this better. Or maybe warp's built-in static file server has this done already.
serve_file
warp
Warp uses the mime_guess crate for this.
At the moment,
serve_file
hard-codes some rules for producing MIME types. Surely there's a crate that does this better. Or maybewarp
's built-in static file server has this done already.