You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by Vadim Gritsenko <vg...@hns.com> on 2001/06/18 14:57:52 UTC

[PATCH] HTTP Headers are case-insensitive

Hello everybody,

I found that CommandLineRequest does not treat headers correctly,
so "User-Agent" and "user-agent" would be two different headers if
using this request. Patch is attached to fix this problem.

Also, some request header - related code fixed in TraxTransformer also.
I'm not sure about line 13 of the patch, but I think names should be consistent,
otherwise it will be hard to guess the name...

Please apply these patched assuming that they are feasible.

Thanks,
Vadim