Return-Path: X-Original-To: apmail-cordova-issues-archive@minotaur.apache.org Delivered-To: apmail-cordova-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 8960D10215 for ; Fri, 5 Dec 2014 17:26:18 +0000 (UTC) Received: (qmail 17505 invoked by uid 500); 5 Dec 2014 17:26:13 -0000 Delivered-To: apmail-cordova-issues-archive@cordova.apache.org Received: (qmail 17485 invoked by uid 500); 5 Dec 2014 17:26:13 -0000 Mailing-List: contact issues-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@cordova.apache.org Received: (qmail 17463 invoked by uid 99); 5 Dec 2014 17:26:13 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 05 Dec 2014 17:26:13 +0000 Date: Fri, 5 Dec 2014 17:26:13 +0000 (UTC) From: "Ryan Murphy (JIRA)" To: issues@cordova.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CB-2415) On iOS the ajax error/fail callback is not called after server returns error code 401/unauthorized MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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