cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ryan Murphy (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-2415) On iOS the ajax error/fail callback is not called after server returns error code 401/unauthorized
Date Fri, 05 Dec 2014 17:26:13 GMT

    [ https://issues.apache.org/jira/browse/CB-2415?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14235754#comment-14235754
] 

Ryan Murphy commented on CB-2415:
---------------------------------

+1 for this getting fixed soon. For my enterprise clients I have no control over the HTTP
responses. 
It's a really bad user experience to do always synchronous requests (especially since iOS
8 shortened the sync timeout). Or to always add a timeout on async requests and say "well,
there was a timeout, I better treat it as a 401".


> 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.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


Mime
View raw message