Hi Sandeep,

Look some more. :-)

NSMutableURLRequest, which is the request you pass to the NSURLConnection should allow you to set whatever custom headers you need.

        - Greg

On Mar 28, 2008, at 11:27 AM, C Sandeep wrote:
Hi Jens,

Thanks. I looked at NSURLConnection docs. It doesn't allow me to set
certain custom headers, while connecting to the http server. Are there
any other libraries that you recommend ? Thanks.

- Sandeep

On Fri, Mar 28, 2008 at 2:09 PM, Jens Alfke <[EMAIL PROTECTED]> wrote:

On 28 Mar '08, at 10:59 AM, C Sandeep wrote:

Im trying to access a custom http server via my cocoa app. I have
looked at various libraries, mainly CFNetwork, available from apple,
however Im not sure which one of them to use(Im comfortable using
Objective-C over C) .

Then why not use NSURLConnection, which is in the Foundation
framework? That's the standard way to implement HTTP client
functionality in Cocoa apps.

—Jens
_______________________________________________

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/greg%40omnigroup.com

This email sent to [EMAIL PROTECTED]

_______________________________________________

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 [EMAIL PROTECTED]

Reply via email to