• 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: Problems with NSURLConnection and NSString
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problems with NSURLConnection and NSString


  • Subject: Re: Problems with NSURLConnection and NSString
  • From: Frederick Cheung <email@hidden>
  • Date: Tue, 8 Nov 2005 15:10:54 +0000

On 11/8/05, email@hidden <email@hidden> wrote:
> I'm using NSURLConnection to download simply an html page from the
> web, and sometimes it works fine, but other times it doesn't work
> properly.
>
> In connectionDidFinishLoading, I initialize an NSString with the data
> content, but in same cases, it doesn't work.
>
> Is there any problem wth NSURLConnection?

This may or may not be your problem but occasionally I have seen
problems where NSURLConnection says that it can support gzip encoded
pages but then fails to ungzip the data for you.
Have a look at the data in the cases where you can't create an NSString from it

Fred
 _______________________________________________
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: 
 >Problems with NSURLConnection and NSString (From: email@hidden)

  • Prev by Date: Problems with NSURLConnection and NSString
  • Next by Date: Re: Memory not being freed
  • Previous by thread: Problems with NSURLConnection and NSString
  • Next by thread: Autoresizing pictures to make them fit in NSTextView
  • Index(es):
    • Date
    • Thread