]> Cypherpunks.ru repositories - gostls13.git/commit
http: improve Get documentation
authorminherz <minherz@gmail.com>
Mon, 13 Jun 2022 05:26:02 +0000 (22:26 -0700)
committerGopher Robot <gobot@golang.org>
Mon, 18 Jul 2022 15:58:37 +0000 (15:58 +0000)
commitc0c1bbde172c33e6e4ea994b413f23ca42c50c06
tree885d14422af5d32e794418234eb93d86fe382a64
parent2aa473cc54128c1498f80263763a2a876308e565
http: improve Get documentation

The existing documentation is unclear about header keys formatting.
The clarifying sentence is added to Get function to emphasis that
keys have to be stored in canonical format to have Get returining
non empty value.

Fixes #53140

Change-Id: Icd0955bcbb6676cec028fe37042aed5846e13ed1
Reviewed-on: https://go-review.googlesource.com/c/go/+/417975
Run-TryBot: Damien Neil <dneil@google.com>
Auto-Submit: Damien Neil <dneil@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Damien Neil <dneil@google.com>
src/net/http/header.go