[
https://issues.apache.org/jira/browse/CB-2415?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13600683#comment-13600683
]
Andrew Grieve commented on CB-2415:
-----------------------------------
Some sample code here would go a long way. E.g. what's a test server we can
hit, and what should we set the Authorization header to? Is this for XHRs, or
for FileTransfer? Also, please confirm that this is an issue on both iOS and
Android?
> 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
> Assignee: Shazron Abdullah
> Labels: 401, BasicAuth, iOS
>
> 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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira