Re: stringWithContentsOfURL bug? (gzip issue)
Re: stringWithContentsOfURL bug? (gzip issue)
- Subject: Re: stringWithContentsOfURL bug? (gzip issue)
- From: Frederick Cheung <email@hidden>
- Date: Fri, 7 Jan 2005 19:04:21 +0000
On 7 Jan 2005, at 16:24, Peter Maurer wrote:
I've had similar problems, and they did indeed turn out to be caused
by the gzip issue Frederick has outlined. As far as I remember, this
is a known bug: The -stringWithContentsOfURL: method tells the server
"Sure, send me gzipped data, if you want to. I can handle it.", but
then fails to unzip them.
It's odd though, I was playing around with this a few days ago and in
some cases stringWithContentsOfURL ungzips the data correctly, but in
other cases it doesn't. It can even be the case that one page on a
website is ungzipped correctly, but the other wasn't. There didn't seem
to be any notable differences in the headers of the server response.
Fred
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden