Re: Problems with NSURLConnection and NSString
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