go/doc/next/6-stdlib/99-minor
Nuno Gonçalves a63907808d net/http: add field Cookie.Quoted bool
The current implementation of the http package strips double quotes
from the cookie-value during parsing, resulting in the serialized
cookie not including them. This patch addresses this limitation by
introducing a new field to track whether the original value was
enclosed in quotes.

Additionally, the internal representation of a cookie in the cookiejar
package has been adjusted to align with the new representation.

The syntax of cookies is outlined in RFC 6265 Section 4.1.1:
https://datatracker.ietf.org/doc/html/rfc6265\#section-4.1.1

Fixes #46443

Change-Id: Iac12a56397d77a6060a75757ab0daeacc60457f3
GitHub-Last-Rev: a76440e741
GitHub-Pull-Request: golang/go#66752
Reviewed-on: https://go-review.googlesource.com/c/go/+/577755
Reviewed-by: Damien Neil <dneil@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Cherry Mui <cherryyz@google.com>
2024-04-19 00:32:19 +00:00
..
archive/tar doc: make use of simpler symbol links for relnotes 2024-04-12 20:57:18 +00:00
database/sql doc: make use of simpler symbol links for relnotes 2024-04-12 20:57:18 +00:00
debug/elf debug/elf: define non-standard but well-known symbol types 2024-04-16 00:01:16 +00:00
go/types go/types: add Func.Signature method 2024-04-18 22:17:27 +00:00
net net/http: add field Cookie.Quoted bool 2024-04-19 00:32:19 +00:00
os doc: make use of simpler symbol links for relnotes 2024-04-12 20:57:18 +00:00
path/filepath doc: make use of simpler symbol links for relnotes 2024-04-12 20:57:18 +00:00
reflect doc: make use of simpler symbol links for relnotes 2024-04-12 20:57:18 +00:00
runtime/debug doc: make use of simpler symbol links for relnotes 2024-04-12 20:57:18 +00:00
slices doc: make use of simpler symbol links for relnotes 2024-04-12 20:57:18 +00:00
sync doc: update relnote for sync.Map.Clear 2024-04-10 17:07:25 +00:00
syscall doc: make use of simpler symbol links for relnotes 2024-04-12 20:57:18 +00:00
testing/fstest doc: make use of simpler symbol links for relnotes 2024-04-12 20:57:18 +00:00
unicode/utf16 doc: make use of simpler symbol links for relnotes 2024-04-12 20:57:18 +00:00
0-heading.md
README

README

API changes and other small changes to the standard library go here.