• 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: Check URL Status
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Check URL Status


  • Subject: Re: Check URL Status
  • From: Mike Abdullah <email@hidden>
  • Date: Mon, 19 Jan 2009 11:39:00 +0000

Create a NSURLConnection for the HD URL. It will receive an NSHTTPURLResponse object with -statusCode 404.

Mike.

On 19 Jan 2009, at 01:20, Mr. Gecko wrote:

Hello, I'm trying to find out how I can check a URL status in cocoa. I have two links to videos on a server one HD and one SD. sometime the HD isn't there and I need my program to check for 404 and if it has a 404 it'll revert to SD.

Thanks for tips and or help,
Mr. Gecko
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Check URL Status
      • From: "Mr. Gecko" <email@hidden>
References: 
 >Check URL Status (From: "Mr. Gecko" <email@hidden>)

  • Prev by Date: Re: Dealing with exceptions in a drawing stack
  • Next by Date: Re: SIGPIPE with sockets
  • Previous by thread: Re: Check URL Status
  • Next by thread: Re: Check URL Status
  • Index(es):
    • Date
    • Thread