Re: Check URL Status
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