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 protected])

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 [email protected]

Reply via email to