cURL / Mailing Lists / curl-and-php / Single Mail

curl-and-php

Re: What kind of output is this?

From: David Colter <dolan2go_at_yahoo.com>
Date: Mon, 9 Jun 2008 22:53:43 -0400

On Jun 9, 2008, at 9:15 PM, David Colter wrote:

> Do these header response items mean something to this puzzle?
> Content-Encoding: deflate
> Transfer-Encoding: chunked

On further reading and trial, using curl setopt ($ch,
CURLOPT_ENCODING, "gzip") gave this error
"Error while processing content unencoding: incorrect header check".
You could put "deflate", 0 or "gzip/deflate" in there, and it doesn't
make a difference. The returned string then is blank and the error is
returned.

I surmise that I'm looking for a way for curl or php to interpret the
encoding on the client side.

Any further ideas would be immensely appreciated.

David Colter

_______________________________________________
http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-php
Received on 2008-06-10