Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

This project is archived and is in readonly mode.

Rails should offer case-insensitive lookup of HTTP Headers

#3441

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.

Reported by Chris Davaz · October 29th, 2009 @ 08:02 PM

State: stale
Milestone: none
Assigned to: nobody
Importance: none

Activity

  1. Rohit Arondekar
    Rohit Arondekar
    • 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.

    October 6th, 2010 @ 06:34 AM