• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
CURLHandle - getting header status
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Prev by Date: Re: NSToolbarItem with custom view in Interface Builder 3 (Leopard)
  • Next by Date: Re: Creating NSAttributedString objects using WebKit in secondary thread
  • Previous by thread: Re: [iPhone] UITableView with state?
  • Next by thread: DVDPlayer & Deinterlacing
  • Index(es):
    • Date
    • Thread