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.
Use coupon code:

RUBYONRAILS

to get 30% discount on our bundle!
Prepare for your next tech interview with our comprehensive collection of programming interview guides. Covering JavaScript, Ruby on Rails, React, and Python, these highly-rated books offer thousands of essential questions and answers to boost your interview success. Buy our 'Ultimate Job Interview Preparation eBook Bundle' featuring 2200+ questions across multiple languages. Ultimate Job Interview Preparation eBook Bundle