Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSURLConnection and HTTP Basic Authentication



Hello,

I have a problem when using NSURLConnection to handle HTTP Basic
Authentication. I'm trying to connect (with Mac OS X 10.3.9) to a site
requiring HTTP Basic Authentication. The problem is that after calling
initWithRequest:delegate: on NSURLConnection, the connection just sits
there and the delegate callbacks are not called.
However, I can see on the server side that a request has been
received. What's more, when in the next event of the main event loop
this code is called again to make the same HTTP request, then it works
perfectly.

On the other hand, there are no problems at all when running the code in Tiger.

Any ideas of what could be happening here? Maybe a bug in the
NSURLConnection implementation of Mac OS X 10.3.9?

Thanks in advance.

xavi
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.