Skip to content

Commit 5760fb1

Browse files
authored
net/http: fix typo in Transport docs
1 parent c58d075 commit 5760fb1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/net/http/transport.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ const DefaultMaxIdleConnsPerHost = 2
8787
// ClientTrace.Got1xxResponse.
8888
//
8989
// Transport only retries a request upon encountering a network error
90-
// if the connection has been already been used successfully and if the
90+
// if the connection has already been used successfully and if the
9191
// request is idempotent and either has no body or has its [Request.GetBody]
9292
// defined. HTTP requests are considered idempotent if they have HTTP methods
9393
// GET, HEAD, OPTIONS, or TRACE; or if their [Header] map contains an

0 commit comments

Comments
 (0)