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

Fix: add content-type header when request has body #153

Merged
merged 1 commit into from
Oct 10, 2024

Conversation

yanyongyu
Copy link
Owner

@yanyongyu yanyongyu commented Oct 10, 2024

httpx will not add content-type header when body is raw content. Manually add the header for every request.

@yanyongyu yanyongyu added bug Something isn't working Rest API labels Oct 10, 2024
@yanyongyu yanyongyu merged commit ea279c5 into master Oct 10, 2024
34 checks passed
@yanyongyu yanyongyu deleted the fix/content-type branch October 10, 2024 11:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Rest API
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant