Sign in or sign up before continuing. Don't have an account yet? Register now to get started.
response-content-type parameter breaks Alibaba Cloud OSS object storage
<!--IssueSummary start-->
<details>
<summary>
Everyone can contribute. [Help move this issue forward](https://handbook.gitlab.com/handbook/marketing/developer-relations/contributor-success/community-contributors-workflows/#contributor-links) while earning points, leveling up and collecting rewards.
</summary>
- [Label this issue](https://contributors.gitlab.com/manage-issue?action=label&projectId=278964&issueIid=600339)
</details>
<!--IssueSummary end-->
## Problem Description
When using Docker image `gitlab/gitlab-ce:18.7.1-ce.0` with `uploads` configured to use Alibaba Cloud OSS object storage, uploading `.png` images in issues results in the image URL carrying a `response-content-type` parameter, causing Alibaba Cloud OSS to reject the request.
## Steps to Reproduce
1. Deploy GitLab using Docker image `gitlab/gitlab-ce:18.7.1-ce.0`
2. Configure `uploads` to use Alibaba Cloud OSS object storage
3. Upload a `.png` image in an issue
4. Observe the image display in the issue
5. Viewing Job raw logs and Job complete logs also encounters this issue
{width=900 height=247}
## Expected Behavior
Provide a toggle to configure whether to carry the `response-content-type` parameter.
## Actual Behavior
1. When displaying `.png` images in issues, the URL carries a `response-content-type` parameter. Alibaba Cloud OSS does not support this parameter, causing the images to fail to display.
2. When viewing Job raw logs and Job complete logs, the URL carries a `response-content-type` parameter. Alibaba Cloud OSS does not support this parameter, causing the Job raw logs and Job complete logs to fail to display.
## Related Links
- Alibaba Cloud OSS restriction documentation: https://api.aliyun.com/troubleshoot?q=0017-00000902
issue