Subject: | split_header_words converting items to lower-case |
Date: | Tue, 14 Oct 2008 13:22:25 +0100 |
To: | bug-libwww-perl [...] rt.cpan.org |
From: | "Rajit Singh" <rajit.b.singh [...] gmail.com> |
Hi,
In attempting to install Catalyst I found a test of that module failing,
t/live_engine_response_cookies.t. That test uses
HTTP::Headers::Util::split_header_words to parse part of a response header.
The test expected split_header_words to preserve the case of the strings.
Due to split_header_words in libwww-perl-5.817 converting part of their
return value to lower-case, this test now fails.
There was a bug reported, 28713 (
http://rt.cpan.org/Ticket/Display.html?id=28713), asking for
split_header_words to honour a case-insensitivity requirement in accordance
with the HTTP 1.1 spec, but it was rejected. As such, it appears to be a
mistake that this new behaviour has appeared (it did not behave this way in
5.816).
If that's correct, it'd be great to revert to the previous behaviour.
Cheers.