Uploaded image for project: 'Bitbucket Cloud'
  1. Bitbucket Cloud
  2. BCLOUD-19694

Option to set MIME type for downloading files through API calls

XMLWordPrintable

    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

      Hello,

      Currently, there is no option to download files through an API by setting a MIME type. 

      I am trying to use a bitbucket repository as a helm chart repository; Please refer to:

      https://medium.com/@mattiaperi/create-a-public-helm-chart-repository-with-github-pages-49b180dbb417
      https://community.atlassian.com/t5/Bitbucket-questions/Helm-repository/qaq-p/1022537#M49562

      The file is being set to the wrong mime type on download, so helm when it uses it can not unpack it and has an error

      `Error: gzip: invalid header`

       

      After downloading, the file format is set to other than the actual format of the file.

              Unassigned Unassigned
              bkandula@atlassian.com Bharath
              Votes:
              31 Vote for this issue
              Watchers:
              13 Start watching this issue

                Created:
                Updated: