• 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: "Mr. Gecko" <email@hidden>
  • Date: Wed, 28 Jan 2009 15:15:35 -0600

yeah that wouldn't work for what I need, if I could just do NSHTTPURLResponse *response = [NSURLConnection responseForRequest:request]; that would work, but it's not in cocoa...

On Jan 19, 2009, at 5:39 AM, Mike Abdullah wrote:

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: Andrew Farmer <email@hidden>
References: 
 >Check URL Status (From: "Mr. Gecko" <email@hidden>)
 >Re: Check URL Status (From: Mike Abdullah <email@hidden>)

  • Prev by Date: NStableView roe selection
  • Next by Date: Re: -finstrument-functions and program startup
  • Previous by thread: Re: Check URL Status
  • Next by thread: Re: Check URL Status
  • Index(es):
    • Date
    • Thread