I have build my first wsgi application and apache is serving the content very fine. The problem rises when the client sends a "accept-encoding: gzip" in the request.
Sending without accept-encoding: wget --server-response --header="accept-encoding: gzip" --no-check-certificate 'https://192.168.254.195/.........................................." HTTP request sent, awaiting response... HTTP/1.1 200 OK Date: Sun, 13 Apr 2014 14:28:49 GMT Server: Apache Content-Length: 24280 Vary: Accept-Encoding Keep-Alive: timeout=5, max=100 Connection: Keep-Alive Content-Type: text/plain; charset=utf8 Length: 24280 (24K) [text/plain] ... 24.280 2,14KB/s in 11s 2014-04-13 11:29:01 (2,11 KB/s) - ‘gzip’ saved [24280/24280] Now with accept-encoding: gzip wget --server-response --header="accept-encoding: gzip" --no-check-certificate 'https://192.168.254.195/.........................................." HTTP request sent, awaiting response... HTTP/1.1 200 OK Date: Sun, 13 Apr 2014 14:29:21 GMT Server: Apache Vary: Accept-Encoding Content-Encoding: gzip Keep-Alive: timeout=5, max=100 Connection: Keep-Alive Transfer-Encoding: chunked Content-Type: text/plain; charset=utf8 Length: unspecified [text/plain] 2014-04-13 11:29:43 (7,58 KB/s) - ‘gzip’ saved [169980] Why if the client sends the client sends accept-encoding: gzip , the response length gets 8x bigger ? How can i avoid this ? Thanks ! -- You received this message because you are subscribed to the Google Groups "modwsgi" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/modwsgi. For more options, visit https://groups.google.com/d/optout.
