]> Cypherpunks repositories - gostls13.git/commit
net/http: add Request.CookiesNamed
authorTimo Furrer <tuxtimo@gmail.com>
Wed, 28 Feb 2024 06:07:16 +0000 (06:07 +0000)
committerEmmanuel Odeke <emmanuel@orijtech.com>
Wed, 20 Mar 2024 16:17:16 +0000 (16:17 +0000)
commit6dca7076560c8b34b536665296f03b748834c071
tree652499e571393e39c73e17fcc19ca2dffdd44fdc
parentdb423dde85ad4923c2c4addb1cd96f119c7b6dc6
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>
api/next/61472.txt [new file with mode: 0644]
src/net/http/request.go
src/net/http/request_test.go