• 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
dataWithContentsOfURL
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

dataWithContentsOfURL


  • Subject: dataWithContentsOfURL
  • From: David Blanton <email@hidden>
  • Date: Thu, 27 Mar 2003 12:45:21 -0700

Using:

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?

David Blanton
"Cocoa FNG"
_______________________________________________
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.

  • Follow-Ups:
    • Re: dataWithContentsOfURL
      • From: j o a r <email@hidden>
  • Prev by Date: WindowControllers and threads
  • Next by Date: NSMovieView and NSTabView
  • Previous by thread: WindowControllers and threads
  • Next by thread: Re: dataWithContentsOfURL
  • Index(es):
    • Date
    • Thread