Add QUERY HTTP method#34993
Open
desiderantes wants to merge 3 commits into
Open
Conversation
f640f86 to
6f9aa37
Compare
Author
|
Will keep this one in draft until the standard is published, but I'd appreciate any review |
258303c to
e7e5a72
Compare
e7e5a72 to
95c6c7a
Compare
95c6c7a to
a723d04
Compare
a723d04 to
abe078f
Compare
Signed-off-by: Mario Daniel Ruiz Saavedra <desiderantes93@gmail.com>
7c5025d to
6c71421
Compare
Author
|
the draft has been approved for publication, so I'm marking this PR as ready for review. |
Signed-off-by: Mario Daniel Ruiz Saavedra <desiderantes93@gmail.com>
Member
That's a 404 now, we can use https://www.rfc-editor.org/info/rfc10008/ instead as a reference. |
Signed-off-by: Mario Daniel Ruiz Saavedra <desiderantes93@gmail.com>
jonatasrd
approved these changes
Jun 20, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This change introduces support for RFC 10008: The HTTP QUERY Method.
Although initially described as just a "safe GET with a body", the QUERY method unlocks the ability to send complex payloads that do not represent a mutation, and can be handled in a safe, idempotent way. Think of it as a replacement for usecases like complex query parameters in URLs, POST requests that do not mutate anything (but have to be treated as such by all other components in the network roundtrip, so no caching, etc.), and non-mutating HTML Form submission that can use an appropriate encoding for the body.
Fixes #32975