Re: NSURL with a Login/Password
Re: NSURL with a Login/Password
- Subject: Re: NSURL with a Login/Password
- From: Scott Anguish <email@hidden>
- Date: Mon, 14 Jul 2003 16:30:22 -0400
sure, you can use NSURLConnection's
+sendSynchronousRequest:returningResponse:error: method. If the URL
password is incorrect, you'll get nothing back.
that method blocks BTW.. if you need other behaviour, you'll need to
use other NSURLConnection methods...
On Monday, July 14, 2003, at 4:17 PM, Romain Brestac wrote:
Hello list,
I tried to get the contents of an url with the method
"stringWithContentsOfURL:" but it does not work when the page is
protected with a password like in "http://login:password@..."
Is there a way to do this with the new webkit/foundation classes ?
Thanks. Romain.
-----------------------------------------------------
iList-Mailing lists browser:
<http://www.macupdate.com/dev.php?id=10807>
Police partout, Culture nulle part. Paris, 2003.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.