Project

General

Profile

Actions

Bug #2645

closed

lighttpd doesn't support case-insensitive for content-coding values ??

Added by pradeep.labheswar over 9 years ago. Updated over 8 years ago.

Status:
Fixed
Priority:
Normal
Category:
-
Target version:
ASK QUESTIONS IN Forums:

Description

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

Actions #1

Updated by pradeep.labheswar over 9 years ago

Any Update on this?

Actions #2

Updated by pradeep.labheswar over 9 years ago

  • Assignee set to darix
Actions #3

Updated by Olaf-van-der-Spek over 9 years ago

Why don't you fix the client?

Actions #4

Updated by stbuehler over 9 years ago

  • Assignee deleted (darix)
  • Priority changed from Immediate to Normal
Actions #6

Updated by stbuehler over 8 years ago

  • Target version changed from 1.4.x to 1.4.40
Actions #7

Updated by stbuehler over 8 years ago

  • Status changed from New to Fixed
  • % Done changed from 0 to 100

Applied in changeset r3086.

Actions

Also available in: Atom