Project

General

Profile

[Solved] does lighttpd support case-insensitive for content-coding values ?

Added by pradeep.labheswar almost 9 years ago

Hi,

I got a case where my Client is sending a request with 2 cases:
1. accept-encoding: GZIP
2. accept-encoding: gzip

Results:

In the First case the its not compressing the body.
In the Second case its compressing the body.

Does lighttpd support case-insensitive for content-coding values in Accept-Encoding Header?
If so is there any config needs to be set.

I checked in the source code and found in mod_compress/deflate its as like below:

m = strstr(headervalue, encoding) here headervalue is from the packet and encoding = "gzip"

Please let me know on this. Its a bit Urgent


    (1-1/1)