diff options
| author | Victor <123157458+veecore@users.noreply.github.com> | 2025-11-16 00:00:59 +0000 |
|---|---|---|
| committer | Gopher Robot <gobot@golang.org> | 2025-11-21 12:40:25 -0800 |
| commit | 35d2712b324af111816e9d637032cbbb8eaeedc7 (patch) | |
| tree | 7ee22edafe3f6b64416f370b7a6e6d479b748861 /src | |
| parent | 90c970cd0fce1804d82f5148884e69d179c2e265 (diff) | |
| download | go-35d2712b324af111816e9d637032cbbb8eaeedc7.tar.xz | |
net/http: fix typo in Transport docs
Change-Id: Ifeb8d6d2e3fd4c8b0e27da62bec5cf28fe71db34
GitHub-Last-Rev: 5760fb106f58bf77817b9813f029d47be4ca7e3b
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>
Diffstat (limited to 'src')
| -rw-r--r-- | src/net/http/transport.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/http/transport.go b/src/net/http/transport.go index 4e6b07f34d..033eddf1f5 100644 --- a/src/net/http/transport.go +++ b/src/net/http/transport.go @@ -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 |
