Module: Protocol::HTTP::Header
- Defined in:
- lib/protocol/http/headers.rb,
lib/protocol/http/header/date.rb,
lib/protocol/http/header/etag.rb,
lib/protocol/http/header/vary.rb,
lib/protocol/http/header/etags.rb,
lib/protocol/http/header/split.rb,
lib/protocol/http/header/accept.rb,
lib/protocol/http/header/cookie.rb,
lib/protocol/http/header/multiple.rb,
lib/protocol/http/header/priority.rb,
lib/protocol/http/header/connection.rb,
lib/protocol/http/header/authorization.rb,
lib/protocol/http/header/cache_control.rb,
lib/protocol/http/header/quoted_string.rb,
lib/protocol/http/header/accept_charset.rb,
lib/protocol/http/header/accept_encoding.rb,
lib/protocol/http/header/accept_language.rb
Defined Under Namespace
Modules: QuotedString Classes: Accept, AcceptCharset, AcceptEncoding, AcceptLanguage, Authorization, CacheControl, Connection, Cookie, Date, ETag, ETags, Multiple, Priority, SetCookie, Split, Vary
Constant Summary collapse
- TOKEN =
According to tools.ietf.org/html/rfc7231#appendix-C
/[!#$%&'*+\-.^_`|~0-9A-Z]+/i
- QUOTED_STRING =
/"(?:.(?!(?<!\\)"))*.?"/
- QVALUE =
/0(\.[0-9]{0,3})?|1(\.[0]{0,3})?/