From 05c6a09255c78d0376060a2cf5f217eac9d6bf7d Mon Sep 17 00:00:00 2001 From: icelain Date: Wed, 24 Jun 2026 23:44:02 +0530 Subject: [PATCH] net/http: add QUERY HTTP method Add MethodQuery constant for the QUERY method defined in RFC 10008. Mirrors the style of other method constants (e.g. MethodPatch / RFC 5789). Ported from golang/go#80134 (CL 793720). --- src/net/http/method.go | 1 + 1 file changed, 1 insertion(+) diff --git a/src/net/http/method.go b/src/net/http/method.go index 6f46155069f0e4..6e98ce113cb95c 100644 --- a/src/net/http/method.go +++ b/src/net/http/method.go @@ -17,4 +17,5 @@ const ( MethodConnect = "CONNECT" MethodOptions = "OPTIONS" MethodTrace = "TRACE" + MethodQuery = "QUERY" // RFC 10008 )