Skip to content

feat: block body when request method is GET or HEAD#31

Merged
whatwewant merged 1 commit intogo-zoox:masterfrom
cedrickah:feature/block-get-and-head-body
Jun 23, 2025
Merged

feat: block body when request method is GET or HEAD#31
whatwewant merged 1 commit intogo-zoox:masterfrom
cedrickah:feature/block-get-and-head-body

Conversation

@cedrickah
Copy link
Contributor

GET or HEAD request should not have a body according to both the HTTP/1.1 and HTTP/2 specifications.
This is a fix for that.

@whatwewant whatwewant merged commit ecf7555 into go-zoox:master Jun 23, 2025
1 check failed
@whatwewant
Copy link
Contributor

LGTM. thanks your pr

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.

2 participants