mirror of
https://github.com/golang/go.git
synced 2025-05-31 23:25:39 +00:00
parent
cc6720aab7
commit
cb94b60cfb
@ -120,8 +120,7 @@ func valueOrDefault(value, def string) string {
|
||||
return def;
|
||||
}
|
||||
|
||||
// TODO(rsc): Change default UserAgent before open-source release.
|
||||
const defaultUserAgent = "http.Client"
|
||||
const defaultUserAgent = "Go http package"
|
||||
|
||||
// Write writes an HTTP/1.1 request -- header and body -- in wire format.
|
||||
// This method consults the following fields of req:
|
||||
|
Loading…
x
Reference in New Issue
Block a user