Closed
Description
We should probably have some Mime class/module as a registry for this, similar to Go's (since we provide an HTTP::Server in the standard library we will probably want this in the standard library too).
There are three shards who provide a MIME registry:
And ysbaddaden/frost has a extensive MIME registry.
They all rely on a custom mime type database in form of a JSON file included in the shard. While this can be required in some cases, I feel like the stdlib implementation should probably just rely on the mime types registry of the operating system (like the Go example).
Metadata
Metadata
Assignees
Labels
No labels