Return-Path: X-Original-To: apmail-incubator-callback-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-callback-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 89E299565 for ; Wed, 23 May 2012 20:05:41 +0000 (UTC) Received: (qmail 82608 invoked by uid 500); 23 May 2012 20:05:41 -0000 Delivered-To: apmail-incubator-callback-dev-archive@incubator.apache.org Received: (qmail 82574 invoked by uid 500); 23 May 2012 20:05:41 -0000 Mailing-List: contact callback-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: callback-dev@incubator.apache.org Delivered-To: mailing list callback-dev@incubator.apache.org Received: (qmail 82558 invoked by uid 99); 23 May 2012 20:05:41 -0000 Received: from issues-vm.apache.org (HELO issues-vm) (140.211.11.160) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 23 May 2012 20:05:41 +0000 Received: from isssues-vm.apache.org (localhost [127.0.0.1]) by issues-vm (Postfix) with ESMTP id 233AF14281C for ; Wed, 23 May 2012 20:05:41 +0000 (UTC) Date: Wed, 23 May 2012 20:05:41 +0000 (UTC) From: "Don Coleman (JIRA)" To: callback-dev@incubator.apache.org Message-ID: <1895714706.12904.1337803541148.JavaMail.jiratomcat@issues-vm> In-Reply-To: <1260917300.2102.1337129166553.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (CB-790) Add HTTP status code to FileTransferError 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-790?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13281856#comment-13281856 ] Don Coleman commented on CB-790: -------------------------------- https://github.com/apache/incubator-cordova-docs/pull/12 > Add HTTP status code to FileTransferError > ----------------------------------------- > > Key: CB-790 > URL: https://issues.apache.org/jira/browse/CB-790 > Project: Apache Cordova > Issue Type: Improvement > Components: CordovaJS > Affects Versions: 1.7.0 > Reporter: Don Coleman > Assignee: Don Coleman > Priority: Minor > > Add HTTP status code to FileTransferError >
> {
>       "code": FILE_NOT_FOUND_ERR,
>       "source": "http://example.com/missing.txt",
>       "target": "file:///mnt/sdcard/foo.txt",
>       "http_status": 404
> }
> {
>       "code": CONNECTION_ERR,
>       "source": "http://example.com/protected.txt",
>       "target": "file:///mnt/sdcard/bar.txt",
>       "http_status": 401
> }
> {
>       "code": CONNECTION_ERR,
>       "source": "http://example.com/admin.txt",
>       "target": "file:///mnt/sdcard/baz.txt",
>       "http_status": 403
> }
> 
-- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira