Re: Questions on when credentials are used in NSURLSessionDownloadTask
Re: Questions on when credentials are used in NSURLSessionDownloadTask
- Subject: Re: Questions on when credentials are used in NSURLSessionDownloadTask
- From: Daryle Walker <email@hidden>
- Date: Wed, 22 Apr 2015 20:55:14 -0400
On Apr 21, 2015, at 4:51 AM, Quinn The Eskimo! <email@hidden> wrote:
On 21 Apr 2015, at 03:28, Daryle Walker <email@hidden> wrote:
When creating a credential with username “hello” and password “there,” the former URL succeeds (200) while the latter fails (401).
This works for me now, both in Safari and in code. Here's my challenge handler:
Did you use the sample URLs ( http://httpbin.org/basic-auth/hello/there and http://httpbin.org/digest-auth/auth/hello/there) I tried? I’m beginning to suspect that either that part of the site or the routing between me and the site is fried. (The httpbin.org page points to HTTP and EU variants. Neither of them work for the Digest mode either for me.) Is there another HTTP client testing site out there that includes Digest Authentication? Or a free regular site that has it? (Harder to find now that OAuth is the new hotness and dialog-based methods (Basic, Digest, NTLM) are old & busted.)
— Daryle Walker Mac, Internet, and Video Game Junkie darylew AT mac DOT com
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden