Hi to all,

A new question to HTTP / RFC gurus.

A customer has developped a custom PHP HTTP client,
using HTTP 1.0 and compression.

This HTTP client compress both request and replies.

For replies it works great but for request we have
a doubt.

Since the HTTP client compress a request there is in
HTTP header :

Content-Encoding: gzip

Also the Content-Length is set to the size of the
plain request (not the size of the compressed request).

Is it correct or should it send the Content-Length with
the size of the compressed request ?

In such case, it seems that mod_deflate INPUT filter should
modify the Content-Length accordingly ?

Thanks for your help

Reply via email to