We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c39cd41 commit 100bf44Copy full SHA for 100bf44
src/net/http/request.go
@@ -350,8 +350,8 @@ func (r *Request) Context() context.Context {
350
// sending the request, and reading the response headers and body.
351
//
352
// To create a new request with a context, use NewRequestWithContext.
353
-// To change the context of a request (such as an incoming) you then
354
-// also want to modify to send back out, use Request.Clone. Between
+// To change the context of a request, such as an incoming request you
+// want to modify before sending back out, use Request.Clone. Between
355
// those two uses, it's rare to need WithContext.
356
func (r *Request) WithContext(ctx context.Context) *Request {
357
if ctx == nil {
0 commit comments