cyril/accept_language.rb: A lightweight, thread-safe Ruby library for parsing Accept-Language HTTP headers as defined in RFC 2616.
30-Jan-2026 405
A lightweight, thread-safe Ruby library for parsing the Accept-Language HTTP header field.
This implementation conforms to:
RFC 7231 Section 5.3.5 — Accept-Language header field definition
RFC 7231 Section 5.3.1 — Quality values syntax
RFC 4647 Section 3.3.1 — Basic Filtering matching scheme
BCP 47 — Tags for Identifying Languages
Note
RFC 7231 obsoletes RFC 2616 (the original HTTP/1.1 specification). The Accept-Language header behavior defined in RFC 2616 Section 14.4 remains unchanged in RFC 7231, ensuring full backward compatibility.
cyril/accept_language.rb: A lightweight, thread-safe Ruby library for parsing Accept-Language HTTP headers as defined in RFC 2616. #ruby #rubydeveloper #rubyonrails #cyril/accept_language.rb: #lightweight, #thread-safe #library #parsing #Accept-Language #headers #defined #2616. #library #thread-safe https://rubyonrails.ba/link/cyril-accept_language-rb-a-lightweight-thread-safe-ruby-library-for-parsing-accept-language-http-headers-as-defined-in-rfc-2616