Add QUERY method description to HTTP methods index#44568
Open
gomestai wants to merge 1 commit into
Open
Conversation
Adds the HTTP QUERY method defined by RFC 10008 to the HTTP request methods landing page. RFC 10008 defines QUERY as a safe and idempotent HTTP method that carries request content and returns the result of processing that content. The request method table is updated accordingly.
Contributor
|
Preview URLs (1 page) Flaws (2) Found an unexpected or unresolvable flaw? Please report it here. URL:
|
Collaborator
|
Thanks @gomestai . Thinking aloud:
Upshot, I'm going to see if I can get a little more information on this topic and get back to you. MIght not be very quick. |
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.
Description
Adds the HTTP
QUERYmethod, defined by RFC 10008, to the HTTP request methods landing page.The page currently lists the established HTTP request methods but does not include
QUERY. This PR adds a short description and updates the safe/idempotent/cacheable method table.Motivation
RFC 10008 defines
QUERYas a safe and idempotent HTTP method that carries request content and returns the result of processing that content. It fills the use case where a request is read-only likeGET, but the query input is too large or complex to fit comfortably in the URI.Additional details
I added
QUERYnext toGETbecause both are safe, idempotent, and cacheable request methods. I avoided describing it as simply “GET with a body” and used wording closer to the RFC semantics.I’m not sure whether a separate
Web/HTTP/Reference/Methods/QUERYpage and BCD/spec data should be added in the same PR or handled separately. Happy to adjust based on maintainer guidance.Related issues and pull requests
None.