Make split_header_words() lower case returned tokens/keys.
commitdcaeabfdca96e934b8eb3cf49aeccb4ea5a16bcb
authorGisle Aas <gisle@aas.no>
Mon, 6 Oct 2008 18:31:21 +0000 (6 20:31 +0200)
committerGisle Aas <gisle@aas.no>
Mon, 6 Oct 2008 19:44:14 +0000 (6 21:44 +0200)
treef569eb79fce95d58e5bb7c2f7741077bcbda9e2c
parentbf73f87330557065db2162c017271b025b630bd4
Make split_header_words() lower case returned tokens/keys.

Found many places that were buggy because it just assumed this to
be the case.  The only exception I have found is when parsing cookies
where we want to preserve the case as specified from the server.
Since we leave the old behaviour as _split_header_words() it should
be trivial to adopt code that happened to depend on the old behaviour.
lib/HTTP/Cookies.pm
lib/HTTP/Headers/Auth.pm
lib/HTTP/Headers/Util.pm
lib/HTTP/Message.pm
lib/HTTP/Request/Common.pm
lib/LWP/UserAgent.pm
t/base/headers-util.t