You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Royi (JIRA)" <ji...@apache.org> on 2016/10/25 18:16:58 UTC

[jira] [Created] (CB-12063) Uploading to aws s3 with chunkMode: false fails.

Royi created CB-12063:
-------------------------

             Summary: Uploading to aws s3 with chunkMode: false fails.
                 Key: CB-12063
                 URL: https://issues.apache.org/jira/browse/CB-12063
             Project: Apache Cordova
          Issue Type: Bug
          Components: Plugin File Transfer
    Affects Versions: 1.6.0
         Environment: android
            Reporter: Royi


When Trying to upload a file to aws s3 with the next options:

      chunkedMode: false,
      httpMethod: 'PUT',
      headers: {
        'Content-Type' : 'image/jpg'
      }

the response from amazon is:

Message>A header you provided implies functionality that is not implemented</Message><Header>Transfer-Encoding</Header>

It seems that Transfer-Encoding header is being sent thus s3 fail.
for more info take a look at 
http://stackoverflow.com/questions/39780922/cordova-file-transfer-to-s3-aws-returns-501-error




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