Repository navigation
Make language comparisons case-insensitive - #41
Conversation
|
Hi @glacials, Thanks for your contribution! The relevant requirement is actually also in RFCs 2616 and 5646 which this gem strives to follow, respectively in sections 3.1 and 2.1.1, so we definitely want to incorporate this change. Anyway, the change would need to be made to |
|
There you go! I also removed some |
|
There's some more changes about efficiency I'd like to make, but your code is good to go. Combine the commits and I'll merge it and make those other changes myself! |
|
Cool, done! |
Make language comparisons case-insensitive
This changes language comparisons to be case insensitive, to follow RFC 3066 (2.1)!