0.0
Low commit activity in last 3 years
Provides abstractions for working with media types.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
 Dependencies
 Project Readme

Protocol::Media

Provides a small representation of media types which can be shared by protocol implementations and registry backends.

Development Status

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-media with 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::Set for compatible media range membership.
  • Make Protocol::Media::Map and Protocol::Media::Set immutable, with builders for incremental construction and indexed lookups.

See Also