Sean Doyle 59d4afaade [ruby/net-http] Add support for HTTP QUERY method
Closes https://github.com/ruby/net-http/issues/202

As of June 2026, [RFC 10008][] is a proposed standard.

From the RFC Abstract:

> This specification defines the QUERY method for HTTP. A QUERY requests
> that the request target process the enclosed content in a safe and
> idempotent manner and then respond with the result of that processing.
> This is similar to POST requests, but QUERY requests can be
> automatically repeated or restarted without concern for partial state
> changes.

This commit proposes support for the HTTP Query method by way of the
`Net::HTTP::Query` class along with the corresponding `#query` and
`#request_query` methods.

[RFC 10008]: https://www.rfc-editor.org/rfc/rfc10008.html

https://github.com/ruby/net-http/commit/76b11b3a26
2026-07-10 03:29:36 +00:00
..