Uploaded image for project: 'Beam'
  1. Beam
  2. BEAM-1016

Use Content-Type and Content-Encoding (as opposed to overriding Content-Type) for compressed files

Details

    • New Feature
    • Status: Resolved
    • P3
    • Resolution: Won't Fix
    • None
    • Not applicable
    • io-java-gcp
    • None

    Description

      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

      Attachments

        Activity

          People

            Unassigned Unassigned
            katsiapis@google.com Konstantinos Katsiapis
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: