Expand description
§MIME Module
This module provides a centralized registry for MIME types (Media Types) and the standalone logic required to manage them within the application. It includes a comprehensive list of default mappings and helper functions to modify those mappings at runtime.
Functions§
- default_
mime_ types - Returns a comprehensive, pre-configured collection of common MIME types.
- remove_
mime_ logic - Removes a MIME type mapping from the provided map.
- remove_
mimes_ logic - Removes multiple MIME type mappings from the provided map.
- set_
mime_ logic - Inserts or updates a single MIME type in the provided map.
- set_
mimes_ logic - Inserts multiple MIME types into the provided map at once.