]> Cypherpunks repositories - gostls13.git/commit
net/http/httputil: clarify docs on the Dump functions
authorBrad Fitzpatrick <bradfitz@golang.org>
Wed, 20 Jan 2016 19:00:32 +0000 (19:00 +0000)
committerBrad Fitzpatrick <bradfitz@golang.org>
Mon, 25 Jan 2016 21:48:31 +0000 (21:48 +0000)
commit071fcd1ae919775149d43a01379dc8874cbe3d73
treec76b53496a0d8ec13664d99deb90c0547c379f09
parentdb5cb1d8cdf957c96fa44c340fb0fc53f2b3231e
net/http/httputil: clarify docs on the Dump functions

Also don't nil out the Request or Response Body on error. Just leave
it in its previous broken state. The docs now say it's undefined, but
it always was.

Fixes #14036

Change-Id: I7fe175a36cbc01b4158f4dffacd8733b2ffa9999
Reviewed-on: https://go-review.googlesource.com/18726
Reviewed-by: Rob Pike <r@golang.org>
src/net/http/httputil/dump.go