]> Cypherpunks repositories - gostls13.git/commit
net/http: add comment to exported ErrNoCookie and ErrNoLocation values
authorMatt Layher <mdlayher@gmail.com>
Sat, 13 Jun 2015 15:25:17 +0000 (11:25 -0400)
committerRuss Cox <rsc@golang.org>
Fri, 26 Jun 2015 17:28:07 +0000 (17:28 +0000)
commit9139089ee5d3e0724157ca79e7cc2f23a0c750a7
tree789c7e650f20cf3c70a7c617d4c8c6eea1ba08dd
parente0e47e22ce6470eff2b8fa303560420c3698394d
net/http: add comment to exported ErrNoCookie and ErrNoLocation values

All other exported errors in net/http are commented.  This change adds
documentation to ErrNoCookie and ErrNoLocation to explain where they are
returned, and why.

Change-Id: I21fa0d070dd35256681ad0714000f238477d4af1
Reviewed-on: https://go-review.googlesource.com/11044
Reviewed-by: Russ Cox <rsc@golang.org>
src/net/http/request.go
src/net/http/response.go