diff options
| author | Brad Fitzpatrick <bradfitz@golang.org> | 2016-11-30 18:45:56 +0000 |
|---|---|---|
| committer | Brad Fitzpatrick <bradfitz@golang.org> | 2016-12-01 20:36:18 +0000 |
| commit | 1102c70bc425e66d3b8981f69a40bd2043cf7e60 (patch) | |
| tree | b27798653d83eabe2ff452cec22268c1bff0ffaa /src/database | |
| parent | 2cfb6d54421956e27836b728a5c36e470d9cb0f1 (diff) | |
| download | go-1102c70bc425e66d3b8981f69a40bd2043cf7e60.tar.xz | |
net/http: teach NewRequest that NoBody has ContentLength zero
NoBody is new in Go 1.8.
Found while investigating #18117
Change-Id: I6bda030f358e2270f090d108cb3a89c8a2665fcb
Reviewed-on: https://go-review.googlesource.com/33714
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Diffstat (limited to 'src/database')
0 files changed, 0 insertions, 0 deletions
