Re: [NSData dataWithContentsOfURL:theURL]
Re: [NSData dataWithContentsOfURL:theURL]
- Subject: Re: [NSData dataWithContentsOfURL:theURL]
- From: j o a r <email@hidden>
- Date: Fri, 11 Apr 2003 17:20:20 +0200
Use NSURLHandle (or CURLHandle!) if you need more control over the
downloads. The methods available in NSString, NSData, etc. is simple
and limited by design.
j o a r
On Friday, Apr 11, 2003, at 16:52 Europe/Stockholm, David Blanton wrote:
NSData * returnData = [NSData dataWithContentsOfURL:theURL];
If theURL requests a page that is not on the server returnData is
NULL. Why
is it not an HTTP 404 message? If I use the same URL as theURL in a
browser
I get back page not found. Is this proper behavior?
_______________________________________________
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.