commit | 84da647cadd075bfc829af6d7d1ab99e0663ccae | [log] [tgz] |
---|---|---|
author | Dmitri Shuralyov <dmitshur@golang.org> | Wed Nov 13 19:53:18 2019 -0500 |
committer | Dmitri Shuralyov <dmitshur@golang.org> | Fri Dec 20 00:30:28 2019 +0000 |
tree | e53f3cbc05ee1eb3e1256aca7a563809c6250723 | |
parent | 1cf0f0cbd69628373978e47ce414f27dae1d69a7 [diff] |
gotip: don't set User-Agent for http.DefaultTransport This code was copied from ./internal/version in CL 206537 with the intention of making the gotip command more consistent with the other golang.org/dl/go... commands. However, the gotip command does not use net/http at all, so setting a custom user agent has no effect. Change-Id: I1632aa5f01d9c1a2541219d2649d7dc57ac259b5 Reviewed-on: https://go-review.googlesource.com/c/dl/+/207097 Reviewed-by: Bryan C. Mills <bcmills@google.com> Run-TryBot: Dmitri Shuralyov <dmitshur@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org>
This repository holds the Go wrapper programs that run specific versions of Go, such as go get golang.org/dl/go1.10.3
and go get golang.org/dl/gotip
.
This repository uses Gerrit for code changes. To learn how to submit changes to this repository, see https://golang.org/doc/contribute.html. The main issue tracker for the net repository is located at https://github.com/golang/go/issues. Prefix your issue with “dl:” in the subject line, so it is easy to find.