[
https://issues.apache.org/jira/browse/CB-2415?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13976810#comment-13976810
]
Alon Raskin commented on CB-2415:
---------------------------------
We are seeing this issue with iOS 7 and Cordova 3.4.0. If anyone wants to fix
this we will happily provide a server for them to test against. One thing to
note is that it seems to be related to the server returning the
"'WWW-Authenticate'" in the response headers. If the server does NOT return
this header then the 401 is returned correctly to the JS layer. Unfortunately
this header is part of the 401 standard so we cant really control whether this
header is returned or not. :-(
> On iOS the ajax error/fail callback is not called after server returns error
> code 401/unauthorized
> --------------------------------------------------------------------------------------------------
>
> Key: CB-2415
> URL: https://issues.apache.org/jira/browse/CB-2415
> Project: Apache Cordova
> Issue Type: Bug
> Components: iOS
> Affects Versions: 2.2.0
> Environment: OSX 10.8.2, Xcode 4.5.1, iOS Simulator 5.0, 5.1, 6.0,
> cordova 2.2
> Reporter: Zach White
> Labels: 401, BasicAuth, core
>
> I am seeing the same issue as reported in
> [CB-2284|https://issues.apache.org/jira/browse/CB-2284] also in iOS. Ajax
> calls with Authorization header set are not returning but are timing out when
> the authorization credentials are invalid.
--
This message was sent by Atlassian JIRA
(v6.2#6252)