Skip to content

Conversation

mayooot
Copy link
Contributor

@mayooot mayooot commented Mar 7, 2024

issue: #532

@emicklei emicklei merged commit b3a6f77 into emicklei:v3 Mar 11, 2024
@liggitt
Copy link
Contributor

liggitt commented Nov 22, 2024

Is an explicitly zero-length body always invalid? If not, the merged PR for this looks incorrect at first glance...

Things like https://lists.w3.org/Archives/Public/ietf-http-wg/2010JulSep/0276.html led me to think a zero-length body on put/post/patch was valid

How else would you send a text/plain POST or PUT intended to set an empty value?

(we spotted this while reviewing an update of the library for Kubernetes in kubernetes/kubernetes#128919)

@emicklei
Copy link
Owner

emicklei commented Dec 2, 2024

hi @liggitt , thank you for sharing your thoughts. I will have a look at the docs suggested.

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