Protocol::Media
Provides a small representation of media types which can be shared by protocol implementations and registry backends.
Usage
Please see the project documentation for more details.
-
Getting Started - This guide explains how to represent, compare, and map media types with
protocol-media. -
Content Negotiation - This guide explains how to combine
protocol-mediawith an HTTP parser to select an application representation.
Releases
Please see the project releases for all releases.
v0.3.0
- Replace media map and set builders with mutable collections that can be frozen after construction.
- Simplify lazy compilation of media map and set indexes.
v0.2.1
- Introduce
Protocol::Media::Setfor compatible media range membership. - Make
Protocol::Media::MapandProtocol::Media::Setimmutable, with builders for incremental construction and indexed lookups.
See Also
- Protocol::Media::Registry provides registry data and indexed lookup by media type or file extension.