You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by "Konstantinos Katsiapis (JIRA)" <ji...@apache.org> on 2016/11/19 20:16:59 UTC

[jira] [Created] (BEAM-1016) Use Content-Type and Content-Encoding (as opposed to overriding Content-Type) for compressed files

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)