Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
net/http: http2 transport doesn't send a default User-Agent #13685
I don't like always appending the default user-agent.
And note that we turned down one previous attempt
I agree that client code must be able to override.
I'd be happy if we were allowing users to append to the default if they'd like to. But there are numerous ways to construct a Request instance (including the zero-value Request) and setting the default user agent during construction is not an option.