]> Cypherpunks repositories - gostls13.git/commitdiff
net/http: fix typo in Transport docs
authorVictor <123157458+veecore@users.noreply.github.com>
Sun, 16 Nov 2025 00:00:59 +0000 (00:00 +0000)
committerGopher Robot <gobot@golang.org>
Fri, 21 Nov 2025 20:40:25 +0000 (12:40 -0800)
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>
src/net/http/transport.go

index 4e6b07f34d61ada316de683b5e4af469da52e018..033eddf1f5ba7e31fd746c723202bd40df9f1a32 100644 (file)
@@ -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