• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: stringWithContentsOfURL bug? (gzip issue)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >stringWithContentsOfURL bug? (From: Benjámin Salánki <email@hidden>)
 >Re: stringWithContentsOfURL bug? (gzip issue) (From: Peter Maurer <email@hidden>)

  • Prev by Date: Re: NSSound and _NSAutoreleaseNoPool() - just leaking
  • Next by Date: Re: Default Button heartBeat bug
  • Previous by thread: Re: stringWithContentsOfURL bug? (gzip issue)
  • Next by thread: Defining Accessors in a Custom Palette for a NSArray for Cocoa Bindings
  • Index(es):
    • Date
    • Thread