Unreviewed changes
4 is the latest approved patch-set.
The change was submitted with unreviewed changes in the following files:
```
The name of the file: src/cmd/go/internal/web/http_test.go
Insertions: 1, Deletions: 1.
@@ -21,7 +21,7 @@
u, err := url.Parse(ts.URL)
if err != nil {
- t.Error("parse httptest url:", err)
+ t.Fatal("parse httptest url:", err)
}
res, err := Get(Insecure, u)
if err != nil {
```
Change information
Commit message:
cmd/go: set a http user agent
go.dev/issue/35699 was a declined proposal to add the go toolchain version
as the user agent on the grounds of privacy.
However, it'd still be useful to identify cmd/go from the sea
of other web clients written in Go with a fixed string user agent.
Updates #35699
Fixes #78891
Change-Id: I872ce567995bdf3f9e968e7aa80e227e6a6a6964
Files:
- M src/cmd/go/internal/web/http.go
- A src/cmd/go/internal/web/http_test.go
Change size: S
Delta: 2 files changed, 41 insertions(+), 0 deletions(-)
Branch: refs/heads/master