incubator-callback-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Don Coleman (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-790) Add HTTP status code to FileTransferError
Date Wed, 23 May 2012 20:05:41 GMT

    [ 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
> <pre>
> {
>       "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
> }
> </pre>

--
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

        

Mime
View raw message