After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 632372 - libsoup doesn't support deflate-encoding
libsoup doesn't support deflate-encoding
Status: RESOLVED WONTFIX
Product: libsoup
Classification: Core
Component: HTTP Transport
2.31.x
Other Linux
: Normal normal
: ---
Assigned To: libsoup-maint@gnome.bugs
libsoup-maint@gnome.bugs
Depends on:
Blocks:
 
 
Reported: 2010-10-17 16:41 UTC by Kai Mast
Modified: 2010-11-09 18:24 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Kai Mast 2010-10-17 16:41:14 UTC
Title says it all. Gzip works fine but deflate is still missing.
Comment 1 Dan Winship 2010-10-17 17:32:35 UTC
The problem is that deflate encoding in http is a giant mess, because Microsoft originally implemented it incorrectly in IE, and so then lots of servers started returning incorrectly-encoded deflate data so that IE could read it, but then other servers implemented it correctly, and now both versions are widely used, and so any client-side implementation has to pick one of the two versions, and try to decode the data according to that, and then if that fails, retry using the other version.

Plus, given that deflate provides absolutely advantage over gzip anyway, and all clients implement gzip, there is no reason for servers to use deflate, other than sadism.

Anyway, if you submitted a working patch, I'd take it, but I have no plans to write it myself.
Comment 2 Kai Mast 2010-10-18 18:28:37 UTC
Oh i wasn't aware of this behaviour. I just noticed that deflate is missing when toying around with a self-written server. 

That explains the difficulty of implementing it. I thought you could just use libz for that and it'll work out fine.
Comment 3 Dan Winship 2010-11-09 18:24:47 UTC
ok, if you don't actually need deflate i'm going to close this