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

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

 





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

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list

[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux