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 (Cocoa-dev@lists.apple.com)
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:
http://lists.apple.com/mailman/options/cocoa-dev/cocoadev%40mikeabdullah.net
This email sent to cocoa...@mikeabdullah.net
_______________________________________________
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com
This email sent to arch...@mail-archive.com