WebmasterID logoWebmasterID
User agents

Go-http-client user agent

Programs built with Go's standard net/http client send a default user agent of the form Go-http-client/x.y. Seeing it means a Go application made the request — common for backend services, CLIs, and integrations. It is honest automation, not a browser, and the default can be overridden. This page covers the pattern.

Verified against primary sources

The Go-http-client default token

Go's standard library net/http client, when used without a custom User-Agent header, sends a default of the form Go-http-client/x.y, where x.y reflects the HTTP version. This honest default names the client and makes no browser claim.

Because Go is widely used for backend services, command-line tools, and integrations, this token appears often in server logs as routine machine-to-machine traffic.

Common and overridable

Go-http-client traffic is normal: backend integrations, internal services, and CLIs frequently use it. The token alone implies nothing about intent — assess by request rate, paths, and rule compliance rather than the string.

Like any client, a Go program can set a custom user agent, so the default token can be absent even for Go traffic, and its presence is not a sign of misbehaviour by itself.

How it appears in analytics and logs

A user agent of the form Go-http-client/x.y is the Go standard library's default — a Go program, not a browser. Its acceptability depends on behaviour, not the string.

Diagnostic use case

Recognise Go programs by the Go-http-client default token so backend and integration traffic is counted as automation, not browser visits.

What WebmasterID can help detect

WebmasterID recognises the Go-http-client default token server-side and classifies it as automation, separate from human analytics, with unknown clients kept in an honest bucket.

Common mistakes

Privacy and accuracy notes

The Go-http-client user agent names a standard library, not a person. WebmasterID records such requests as bot events, never as human profiles.

Related pages

Sources and verification notes

Last reviewed 2026-06-24. Facts are checked against primary/official sources where available; uncertain specifics are marked “Data not yet verified” rather than guessed.