Module: Xenon::Parsers::MediaTypeRules
- Includes:
- Parslet, BasicRules
- Included in:
- AcceptHeader, MediaRange, MediaType
- Defined in:
- lib/xenon/parsers/media_type.rb
Overview
note this uses the rules from tools.ietf.org/html/rfc6838 not tools.ietf.org/html/rfc7231 because the latter is slightly ambiguous, e.g. a token can include * so */json would parse correctly