net/http: Client.Do documentation is incorrect about *url.Error.Timeout #46402
Labels
Documentation
FrozenDueToAge
NeedsFix
The path to resolution is known, but the work has not been done.
Milestone
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Yes.
It also reproduces with go1.17 devel.
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
https://play.golang.org/p/YQH5oWtQWjC
What did you expect to see?
timed out: true
As documented by https://golang.org/pkg/net/http/#Client.Do:
What did you see instead?
timed out: false
The text was updated successfully, but these errors were encountered: