]> Cypherpunks repositories - gostls13.git/commit
net/http: prevent Transport from spamming stderr on server 408 reply
authorBrad Fitzpatrick <bradfitz@golang.org>
Wed, 29 May 2019 21:49:20 +0000 (21:49 +0000)
committerBrad Fitzpatrick <bradfitz@golang.org>
Thu, 30 May 2019 22:29:29 +0000 (22:29 +0000)
commitba66d89d7882892f762e7980562287d2c79ad87e
tree5f4565eac7c1fafad5a61a220bea6b65c0934a76
parent103b5b66921b351f8db4fc6e83bf147b1a0d7580
net/http: prevent Transport from spamming stderr on server 408 reply

HTTP 408 responses now exist and are seen in the wild (e.g. from
Google's GFE), so make Go's HTTP client not spam about them when seen.
They're normal (now).

Fixes #32310

Change-Id: I558eb4654960c74cf20db1902ccaae13d03310f6
Reviewed-on: https://go-review.googlesource.com/c/go/+/179457
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
src/net/http/export_test.go
src/net/http/transport.go
src/net/http/transport_test.go