[ 
https://issues.apache.org/jira/browse/CB-2103?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Filip Maj updated CB-2103:
--------------------------

          Component/s: CordovaJS
        Fix Version/s:     (was: 2.4.0)
                       2.5.0
             Assignee: Filip Maj
          Description: 
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.

  was: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.

    Affects Version/s: 2.4.0
                       2.3.0
    
> 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

Reply via email to