]> Cypherpunks repositories - gostls13.git/commit
net/http: document Response.Header values that are subordinate to other fields
authorSameer Ajmani <sameer@golang.org>
Mon, 13 Feb 2017 19:40:48 +0000 (14:40 -0500)
committerSameer Ajmani <sameer@golang.org>
Mon, 13 Feb 2017 20:10:19 +0000 (20:10 +0000)
commit15c62e8535125f096c2425330fe9b561c38e7ee4
treec1ab2d7db5ae9de56c573d0750dde3dd5e6d9add
parent074b73b1b2db1a1d1bb17d25bb335802e7b59f69
net/http: document Response.Header values that are subordinate to other fields

I noticed that Content-Length may appear in http.Response.Header, but the docs
say it should be omitted.  Per discussion with bradfitz@, updating the docs to
indicate that the struct fields are authoritative.

Change-Id: Id1807ff9d4ba5de425d8b147205f29b18351230f
Reviewed-on: https://go-review.googlesource.com/36842
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/net/http/response.go