Re: dataWithContentsOfURL
Re: dataWithContentsOfURL
- Subject: Re: dataWithContentsOfURL
- From: j o a r <email@hidden>
- Date: Thu, 27 Mar 2003 23:16:02 +0100
Use NSUrlHandle (or CURLHandle) to download the date to have greater
control of the whole process.
j o a r
On Thursday, Mar 27, 2003, at 20:45 Europe/Stockholm, David Blanton
wrote:
NSData *theData = [NSData dataWithContentsOfURL:aURL];
If aURL specifies a known server but the document requested does not
exist
then theData is NULL.
How would one get the HTTP return of say 404, not found?
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.