Mailing List Archive

How to enable deflate content-encoding with Apache2 mod_deflate?
No matter how I test using different value of Accept-Encoding, it
always returned as gzip.


curl -I -H 'Accept-Encoding: gzip' http://www.example.com
Content-Encoding: gzip


curl -I -H 'Accept-Encoding: deflate' http://www.example.com
Content-Encoding: gzip

Seems the documentation is confusing? So how to force deflate?

Thanks.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: How to enable deflate content-encoding with Apache2 mod_deflate? [ In reply to ]
On Mon, Apr 9, 2012 at 2:43 AM, howard chen <howachen@gmail.com> wrote:
> No matter how I test using different value of Accept-Encoding, it
> always returned as gzip.
>
>
> curl -I -H  'Accept-Encoding: gzip' http://www.example.com
> Content-Encoding: gzip
>
>
> curl -I -H  'Accept-Encoding: deflate' http://www.example.com
> Content-Encoding: gzip
>
> Seems the documentation is confusing? So how to force deflate?

mod_deflate only does one kind of encoding, but I couldn't tell you if
it's actually more gzip then deflate or vice versa wrt 2616.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: How to enable deflate content-encoding with Apache2 mod_deflate? [ In reply to ]
Hi,


On Mon, Apr 9, 2012 at 7:01 PM, Eric Covener <covener@gmail.com> wrote:
> mod_deflate only does one kind of encoding, but I couldn't tell you if
> it's actually more gzip then deflate or vice versa wrt 2616.
>

I am already using

AddOutputFilterByType DEFLATE text/html text/plain text/xml


So I suppose it is a bug?

No DEFLATE is used, only GZIP

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: How to enable deflate content-encoding with Apache2 mod_deflate? [ In reply to ]
On Tue, Apr 10, 2012 at 11:20 AM, howard chen <howachen@gmail.com> wrote:
> Hi,
>
>
> On Mon, Apr 9, 2012 at 7:01 PM, Eric Covener <covener@gmail.com> wrote:
>> mod_deflate only does one kind of encoding, but I couldn't tell you if
>> it's actually more gzip then deflate or vice versa wrt 2616.
>>
>
> I am already using
>
> AddOutputFilterByType DEFLATE text/html text/plain text/xml
>
>
> So I suppose it is a bug?
>
> No DEFLATE is used, only GZIP
>

Not a bug

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org