You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Filip Maj (JIRA)" <ji...@apache.org> on 2013/02/16 00:05:12 UTC
[jira] [Commented] (CB-2103) FileTransferError should return
response body
[ https://issues.apache.org/jira/browse/CB-2103?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13579577#comment-13579577 ]
Filip Maj commented on CB-2103:
-------------------------------
I've added a test for this to mobile-spec, which will be in 2.5.0rc1. Hopefully platforms follow suit soon.
> FileTransferError should return response body
> ---------------------------------------------
>
> Key: CB-2103
> URL: https://issues.apache.org/jira/browse/CB-2103
> Project: Apache Cordova
> Issue Type: Improvement
> Components: CordovaJS
> Affects Versions: 2.3.0, 2.4.0
> Reporter: Ben Judson
> Assignee: Filip Maj
> Fix For: 2.5.0
>
>
> FileTransferError does not currently have a response body property, which is necessary for debugging in some cases, e.g. uploading files to Amazon S3. Would be useful in addition to {{http_status}} and {{code}} to have a body property available for inspection. As it is, I have to try to replicate the POST request with another framework to access this crucial data.
> Suggesting to use {{body}} as a property on the FileTransferError object.
--
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