mirror of
https://github.com/golang/go.git
synced 2026-01-29 07:02:05 +03:00
net/http: fix typo in Transport docs
Change-Id: Ifeb8d6d2e3fd4c8b0e27da62bec5cf28fe71db34
GitHub-Last-Rev: 5760fb106f
GitHub-Pull-Request: golang/go#76316
Reviewed-on: https://go-review.googlesource.com/c/go/+/720800
Auto-Submit: Damien Neil <dneil@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Damien Neil <dneil@google.com>
Reviewed-by: Mark Freeman <markfreeman@google.com>
Auto-Submit: Sean Liao <sean@liao.dev>
Reviewed-by: Sean Liao <sean@liao.dev>
This commit is contained in:
@@ -87,7 +87,7 @@ const DefaultMaxIdleConnsPerHost = 2
|
||||
// ClientTrace.Got1xxResponse.
|
||||
//
|
||||
// Transport only retries a request upon encountering a network error
|
||||
// if the connection has been already been used successfully and if the
|
||||
// if the connection has already been used successfully and if the
|
||||
// request is idempotent and either has no body or has its [Request.GetBody]
|
||||
// defined. HTTP requests are considered idempotent if they have HTTP methods
|
||||
// GET, HEAD, OPTIONS, or TRACE; or if their [Header] map contains an
|
||||
|
||||
Reference in New Issue
Block a user