]> Cypherpunks repositories - gostls13.git/commit
net/http/httputil: make DumpRequest and DumpRequestOut recognize http.NoBody
authorBrad Fitzpatrick <bradfitz@golang.org>
Wed, 4 Jan 2017 21:23:00 +0000 (21:23 +0000)
committerBrad Fitzpatrick <bradfitz@golang.org>
Wed, 4 Jan 2017 23:02:08 +0000 (23:02 +0000)
commit2815045a50862276082048714337f95c46e98605
tree200c85191bd0edb0dd0f9a9dcc51f28df6100fb5
parentecac827573ab1500551f2d7ffb98c06422abda9a
net/http/httputil: make DumpRequest and DumpRequestOut recognize http.NoBody

Fixes #18506

Change-Id: I6b0b107296311178938609e878e1ef47a30a463f
Reviewed-on: https://go-review.googlesource.com/34814
Reviewed-by: Ian Lance Taylor <iant@golang.org>
src/net/http/httputil/dump.go
src/net/http/httputil/dump_test.go