SoupContentDecoder: deal with broken apache Content-Encoding
authorDan Winship <danw@gnome.org>
Sun, 22 May 2011 14:01:30 +0000 (10:01 -0400)
committerDan Winship <danw@gnome.org>
Sun, 22 May 2011 14:03:26 +0000 (10:03 -0400)
commitaa8327f9f38b499006d10e3670ca1cedd43e07a8
tree19b8897fd15cc163afa9431429ec213e9d9b7ef3
parent5f19aff402f339a740040046f49b3f8163fe8266
SoupContentDecoder: deal with broken apache Content-Encoding

When sending a .gz file, Apache will (by default) incorrectly claim
"Content-Encoding: gzip", causing us to do the wrong thing with it.
Work around this bug in the same way Firefox does.

https://bugzilla.gnome.org/show_bug.cgi?id=613361
libsoup/soup-content-decoder.c
tests/coding-test.c