[Cyberduck-trac] [Cyberduck] #7933: [S3] Issue with .txt file and setted headers

Cyberduck trac at trac.cyberduck.io
Sun May 4 18:49:42 UTC 2014


#7933: [S3] Issue with .txt file and setted headers
------------------------+---------------------------
    Reporter:  dafresh  |      Owner:  dkocher
        Type:  defect   |     Status:  new
    Priority:  normal   |  Milestone:
   Component:  s3       |    Version:  4.4.4
    Severity:  major    |   Keywords:
Architecture:  Intel    |   Platform:  Mac OS X 10.9
------------------------+---------------------------
 Hello,

 I discover that when a .txt file is uploaded to a S3 bucket, CyberDuck
 cannot download it back, but it workds fine with s3cmd.

 Headers defined on the .txt files at the upload seems to be :

 - Content-Encoding: gzip
 - Content-Type: text/plain

 For info "file" cmd on Mac determines it as " UTF-8 Unicode text".

 A workaround to download back the file is to :

 - modify Content-Type to "application/octet-stream"
 - delete the Content-Encoding header

 Except if I miss something, it seems there is a glitch with some files
 type and associated headers ;-)

 On the other hand, why Content-Encoding is defined to "gzip" ?

 Cheers,

 Cédric

-- 
Ticket URL: <https://trac.cyberduck.io/ticket/7933>
Cyberduck <http://cyberduck.io>
Libre FTP, SFTP, WebDAV, S3 & OpenStack Swift browser for Mac and Windows


More information about the Cyberduck-trac mailing list