S
S
smartfin2012-12-04 13:00:31
PHP
smartfin, 2012-12-04 13:00:31

Accepting gzip requests

Good afternoon!

It is known that nginx can compress the response for transmission to the client.
But I could not find information about the reverse situation - receiving a compressed request.

The problem is this: mobile clients transmit a lot of data, and it would be desirable before the gzip request reached the php backend, it was unzipped and transferred already in its pure form.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
sajgak, 2012-12-04
@sajgak

Google is the head of everything

V
Vitaly Peretyatko, 2012-12-04
@viperet

As far as I know, NGINX does not unpack requests with Content-Encoding: gzip ...
Apache can do this with mod_deflate, but nginx does not. By the way, a good idea for writing a module. I guess it won't be too complicated.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question