Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[3006.x] Fix content-type backwards compatability #66163

Merged
merged 2 commits into from
Mar 14, 2024

Conversation

dwoz
Copy link
Contributor

@dwoz dwoz commented Feb 29, 2024

What does this PR do?

Set content type on proxy requests that do not provide a content type header. This fixes backwards compatibility with old curl client.

What issues does this PR fix or reference?

Fixes: #66127

Merge requirements satisfied?

[NOTICE] Bug fixes or features added to Salt require tests.

@dwoz dwoz requested a review from a team as a code owner February 29, 2024 23:10
@dwoz dwoz requested review from twangboy and removed request for a team February 29, 2024 23:10
@salt-project-bot-prod-environment salt-project-bot-prod-environment bot changed the title Fix content-type backwards compatability [3006.x] Fix content-type backwards compatability Feb 29, 2024
salt/utils/http.py Outdated Show resolved Hide resolved
@s0undt3ch s0undt3ch merged commit 7c61ac7 into saltstack:3006.x Mar 14, 2024
502 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants