CURLHandle - getting header status
CURLHandle - getting header status
- Subject: CURLHandle - getting header status
- From: "Charles E. Heizer" <email@hidden>
- Date: Mon, 11 May 2009 16:36:33 -0700
Hello,
I'm trying to use CURLHandle to get the header status of the request
just made but I'm unable to get the status code. I'm trying to use
"headerStatus" but I get a "unrecognized selector" error.
What am I missing?
Thanks,
Charles
NSURL *url = [NSURL URLWithString:myURL];
CURLHandle *urlHandle = [[CURLHandle alloc] initWithURL:url cached:NO];
[urlHandle prepareAndPerformCurl];
NSData *result = [urlHandle resourceData];
// This Works
NSLog(@"headerString = %@",[urlHandle headerString]);
// This Does not work
NSLog(@"headerStatus = %@",[urlHandle headerStatus]);
_______________________________________________
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