URLSession:didReceiveChallenge: does not seem to work for Basic Auth
URLSession:didReceiveChallenge: does not seem to work for Basic Auth
- Subject: URLSession:didReceiveChallenge: does not seem to work for Basic Auth
- From: Alexander von Below <email@hidden>
- Date: Thu, 07 Jul 2016 09:44:36 +0200
Hello,
I am talking to a certain REST server (you can sign up for free, so if you care I will gladly tell you), but when I try to provide basic auth credentials using URLSession:didReceiveChallenge: (which is being called), I receive a 401.
If I add the Basic Auth to the headers, everything works.
Smart people on the list: Am I doing it wrong? Or is the server behaving oddly?
Thanks
Alex
_______________________________________________
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