On 09/08/26 8:26 pm, Jaikiran Pai wrote:
Hello Konrad,
For the client side, this is being tracked in
https://bugs.openjdk.org/browse/JDK-8276958.
-Jaikiran
On 09/08/26 5:01 pm, Konrad Windszus wrote:
Hi,
RFC 10008 (https://www.rfc-editor.org/info/rfc10008/) defines the new
HTTP method QUERY. This is useful when ordinary GETs request
parameters exceed the 8k limit (imposed by most proxies).
Is there already work for this planned for:
1) HttpClient (from an API perspective this mostly is about extending
HttpRequest.Builder. ...
To be clear, the current API already supports the use of QUERY (or other
HTTP methods) without explicitly requiring a new method on the
HttpRequest.Builder. For example, the following will currently work
(keeping aside the finer details related to redirect handling and others
for the QUERY method):
final HttpRequest req = HttpRequest.newBuilder(requestURI)
.method("QUERY",
BodyPublishers.ofString("hello world"))
.build();
final HttpResponse<?> resp = client.send(req, BodyHandlers.of...());
-Jaikiran