Skip to content

Conversation

rlycx
Copy link

@rlycx rlycx commented May 26, 2023

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.

@rlycx rlycx added the bug label May 26, 2023
@rlycx rlycx 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