• 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
CFHTTP +authentication
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

CFHTTP +authentication


  • Subject: CFHTTP +authentication
  • From: John Michael Zorko <email@hidden>
  • Date: Sun, 25 Jan 2009 11:21:36 -0800


Hello, all ...

I guess this is more of a Core Foundation question, but it still seemed more apropos to this list than Carbon-dev. Please let me know if i'm wrong :-)

I'm trying to handle URLs in this format:

http://<user>:<password>@this.url.com/content

... with the <user> and <password> filled in of course. I found that NSURLConnection handled these for me, but for reasons beyond the scope of this question, NSURLConnection isn't a good choice for what i'm trying to do, so i'm using CFNetwork stuff. I've a question, though:

1. How do I get the HTTP return code? I use CFHTTPMessageCreateRequest() to create the GET request, and CFReadStreamCreateForHTTPRequest() to create a CFReadStream for said request. How do I get the response of the request?

Regards,

John

Falling You - exploring the beauty of voice and sound
http://www.fallingyou.com



_______________________________________________

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


  • Follow-Ups:
    • Re: CFHTTP +authentication
      • From: Peter Blazejewicz <email@hidden>
    • Re: CFHTTP +authentication
      • From: Alex Kac <email@hidden>
  • Prev by Date: Getting pixel color from NSView
  • Next by Date: Re: Getting pixel color from NSView
  • Previous by thread: Re: Getting pixel color from NSView
  • Next by thread: Re: CFHTTP +authentication
  • Index(es):
    • Date
    • Thread