aboutsummaryrefslogtreecommitdiff
path: root/api
diff options
context:
space:
mode:
authorTimo Furrer <tuxtimo@gmail.com>2024-02-28 06:07:16 +0000
committerEmmanuel Odeke <emmanuel@orijtech.com>2024-03-20 16:17:16 +0000
commit6dca7076560c8b34b536665296f03b748834c071 (patch)
tree652499e571393e39c73e17fcc19ca2dffdd44fdc /api
parentdb423dde85ad4923c2c4addb1cd96f119c7b6dc6 (diff)
downloadgo-6dca7076560c8b34b536665296f03b748834c071.tar.gz
go-6dca7076560c8b34b536665296f03b748834c071.zip
net/http: add Request.CookiesNamed
Implements a new method http.Request.CookiesName, that allows retrieving all cookies that match the given name. Fixes #61472 Change-Id: I405d8771b4195af9ff6b4dfde3cfcd316c23b70c GitHub-Last-Rev: 6ad0094995b45648ebbcd18626f07bb879a3f7cf GitHub-Pull-Request: golang/go#61473 Reviewed-on: https://go-review.googlesource.com/c/go/+/511516 Reviewed-by: Emmanuel Odeke <emmanuel@orijtech.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Carlos Amedee <carlos@golang.org> Reviewed-by: Damien Neil <dneil@google.com>
Diffstat (limited to 'api')
-rw-r--r--api/next/61472.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/api/next/61472.txt b/api/next/61472.txt
new file mode 100644
index 0000000000..2e39c4b193
--- /dev/null
+++ b/api/next/61472.txt
@@ -0,0 +1 @@
+pkg net/http, method (*Request) CookiesNamed(string) []*Cookie #61472