diff options
| author | Vladimir Varankin <vladimir@varank.in> | 2018-09-22 22:49:45 +0000 |
|---|---|---|
| committer | Brad Fitzpatrick <bradfitz@golang.org> | 2018-09-23 06:53:10 +0000 |
| commit | fdefabadf0a2cb99accb2afe49eafce0eaeb53a7 (patch) | |
| tree | eda1a3434004f3978ac5ef975821379eb02f6a91 /src/syscall | |
| parent | ce58a39fca067a19c505220c0c907ccf32793427 (diff) | |
| download | go-fdefabadf0a2cb99accb2afe49eafce0eaeb53a7.tar.xz | |
net/http: use Header.clone rather then duplicating functionality
cloneHeader duplicates what Header.clone() method is doing. It's
used in a single place, which can be replaced with the use of the
method.
Change-Id: I6e8bbd6c95063f31ca3695f13fa7478873230525
GitHub-Last-Rev: eb08aeae9b4257df5cf08d6d30903ddeec6b6242
GitHub-Pull-Request: golang/go#27817
Reviewed-on: https://go-review.googlesource.com/136762
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Diffstat (limited to 'src/syscall')
0 files changed, 0 insertions, 0 deletions
