Konstantinos Katsiapis created BEAM-1016:
--------------------------------------------

             Summary: Use Content-Type and Content-Encoding (as opposed to 
overriding Content-Type) for compressed files
                 Key: BEAM-1016
                 URL: https://issues.apache.org/jira/browse/BEAM-1016
             Project: Beam
          Issue Type: New Feature
            Reporter: Konstantinos Katsiapis


Currently the Content-Type for compressed files overrides the original 
Content-Type.


So
Content-Type: text/plain

becomes
Content-Type: application/gzip


We should instead consider keeping

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

This will paly nice with Cloud Storage automatic transcoding:
https://cloud.google.com/storage/docs/transcoding



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to