Closed hjlarry closed 2 days ago
Fixes https://github.com/langgenius/dify/issues/5611 If the user explicity sets the Content-Type field, we should not overwrite it.
Content-Type
test locally
dev/reformat
cd web && npx lint-staged
optional
Nice fixing~
Description
Fixes https://github.com/langgenius/dify/issues/5611 If the user explicity sets the
Content-Type
field, we should not overwrite it.Type of Change
How Has This Been Tested?
test locally
Suggested Checklist:
dev/reformat
(backend) andcd web && npx lint-staged
(frontend) to appease the lint godsoptional
I have made corresponding changes to the documentationoptional
I have added tests that prove my fix is effective or that my feature worksoptional
New and existing unit tests pass locally with my changes