[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [PATCH] Fix case sensitivity when searching for headers





Jeroen van Meeuwen wrote:
This is a patch making the search for the Location header on a 30X HTTP response case insensitive, rather then case sensitive. I couldn't find where the RFCs mandate the header should be capitalized, and sometimes it isn't.

curl -v http://download.fedoraproject.org/pub/fedora/linux/ shows that the response header has a lowercase "location" header which results in anaconda giving a "got a redirect response but Location header is NULL"

http://kanarip.fedorapeople.org/NULL-Location-header.png

Verification with wget[1] confirms the lowercase header.

Cherry-picking commit 017eafa7aac8897ef2cd04cb3e1f85808651b7a0 from remote git://git.kanarip.com/anaconda should apply cleanly to f9-branch, f10-branch and master.


Looks sane to me, but I'm not very familiar with that piece of the code. So I'll wait for another dev's ack before committing,

Regards,

Hans


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]