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

Add content-type header to PUT request in client #114

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

RileyApeldoorn
Copy link

Attach the appropriate "Content-Type" header when sending a PUT request from the client.

Found this bug because axum expects requests with a JSON body to have this header set to the appropriate value.

@RileyApeldoorn RileyApeldoorn marked this pull request as ready for review June 1, 2023 07:58
@robbert-vdh
Copy link
Member

Sorry for not getting to this earlier! LGTM. It's not needed for the icepeak-server implementation, but the header should still be there if you're sending JSON.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants