Module: HTTP::Accept
- Defined in:
- lib/http/accept.rb,
lib/http/accept/sort.rb,
lib/http/accept/version.rb,
lib/http/accept/charsets.rb,
lib/http/accept/encodings.rb,
lib/http/accept/languages.rb,
lib/http/accept/media_types.rb,
lib/http/accept/parse_error.rb,
lib/http/accept/content_type.rb,
lib/http/accept/quoted_string.rb,
lib/http/accept/media_types/map.rb
Defined Under Namespace
Modules: Charsets, Encodings, Languages, MediaTypes, QuotedString, Sort Classes: ContentType, ParseError
Constant Summary collapse
- VERSION =
"2.2.1"
- TOKEN =
According to tools.ietf.org/html/rfc7231#appendix-C
/[!#$%&'*+\-.^_`|~0-9A-Z]+/i
- QUOTED_STRING =
/"(?:.(?!(?<!\\)"))*.?"/