开发者

ASIHTTPRequest: when does ASIAuthenticationDialog appear?

开发者 https://www.devze.com 2023-01-17 16:27 出处:网络
When does the authentication dialog app开发者_JAVA百科ear? If I didn\'t set the username/password in the request or URL?I believe it\'ll appear if the http server returns a HTTP 401 response code and

When does the authentication dialog app开发者_JAVA百科ear? If I didn't set the username/password in the request or URL?


I believe it'll appear if the http server returns a HTTP 401 response code and there is no username/password otherwise available for asihttprequest to use. (ie. there's no username/password in the url, nor set on the request, not present in the keychain, nor already used in this session, nor available from a delegate.)

0

精彩评论

暂无评论...
验证码 换一张
取 消