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