This project is archived and is in readonly mode.
Rails should offer case-insensitive lookup of HTTP Headers
Reported by Chris Davaz | October 29th, 2009 @ 08:02 PM
HTTP Headers are case-insensitive according to the HTTP specification:
http://www.w3.org/Protocols/rfc2616/rfc2616-sec4.html
See section 4.2.
Because of this, Rails should offer a convenient way to lookup headers in a case-insensitive fashion. I personally have encountered this as an issue in a production application. I'm willing to fix it myself if pointed in the right direction. A temporary workaround is to copy the response hash and uppercase or lowercase all the keys.
Comments and changes to this ticket
-
Rohit Arondekar October 6th, 2010 @ 06:34 AM
- State changed from new to stale
- Importance changed from to
Marking ticket as stale. If this is still an issue please leave a comment with suggested changes, creating a patch with tests, rebasing an existing patch or just confirming the issue on a latest release or master/branches.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
<h2 style="font-size: 14px">Tickets have moved to Github</h2>
The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>