cURL / Mailing Lists / curl-users / Single Mail

curl-users

[ curl-Bugs-769609 ] compression encoding problem

From: SourceForge.net <noreply_at_sourceforge.net>
Date: Fri, 11 Jul 2003 05:14:10 -0700

Bugs item #769609, was opened at 2003-07-11 12:14
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100976&aid=769609&group_id=976

Category: http
Group: bad behaviour
Status: Open
Resolution: None
Priority: 5
Submitted By: Julian Bond (jbond23uk)
Assigned to: Daniel Stenberg (bagder)
Summary: compression encoding problem

Initial Comment:
See also http://bugs.php.net/bug.php?id=23702

curl 7.10.2 (i386-redhat-linux-gnu) libcurl/7.10.2
OpenSSL/0.9.6b zlib/1.1.4

Been trying to get compression from inside php 4.3.2
both on linux and Win32 without success.
CURLOPT_ENCODING is being ignored and the
accept-encoding header is never sent.

So I tried
curl --compressed http://www.voidstar.com/temp/accept.php
on linux and got
curl: (23) Error while processing content unencoding.
unknown compression method

That server has php set to zlib.output_compression=1
and when the page is called from a browser with
Accept-Encoding:gzip,deflate it returns
Content-Encoding: gzip
with no problems

So it looks to me like somewhere, between curl, php and
my installations, encoding support is broken. Any ideas?

----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100976&aid=769609&group_id=976

-------------------------------------------------------
This SF.Net email sponsored by: Parasoft
Error proof Web apps, automate testing & more.
Download & eval WebKing and get a free book.
www.parasoft.com/bulletproofapps1
Received on 2003-07-11