Skip to content

[bug]: custom content-type header is overridden #27

@reslear

Description

@reslear

A clear and concise description of what the feature is

https://docs.strapi.io/dev-docs/plugins/upload

Why should this feature be included?

https://docs.strapi.io/dev-docs/plugins/upload

Please provide an example for how this would work

No response

Edit: so i found bug:

if i use .fetch('/upload'..., { headers: new Headers({ 'Content-Type': 'multipart/form-data', }), }

my header overrides 😢

CleanShot 2025-01-13 at 03 42 32@2x

Metadata

Metadata

Assignees

Labels

issue: bugIssue reporting a bugstatus: confirmedThe issue has been confirmed or reproduced manually by a team member

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions