0

我需要使用带有“application/json”内容类型的大厅s3-ressouce在 S3 上上传翻译文件资产。虽然,在 aws-s3 中设置的内容类型始终是“binary/octet-stream”。当 concourse 没有找到任何内容类型规范时,它似乎是默认值设置。

这里是 pipeline.yml 的相关部分:

jobs:
- name: upload-en-translation-s3-dev
  serial: true
  plan:
  - get: github-branch-dev
    trigger: true
  - put: translation-dev-en
    params:
      file: github-branch-dev/blablabla/translations/en-*.json
      content_type: application/json

有谁知道我应该如何指定想要的内容类型?

4

0 回答 0