From a6b0a1c05a44a504a6bc3b20f509bd4fc1561c40 Mon Sep 17 00:00:00 2001 From: Joe Kyo Date: Tue, 31 Oct 2017 09:24:44 +0000 Subject: [PATCH] net/http: fix typo in doc string Change-Id: I4542f6c095a35a4dec03c67c45a75a155197eb56 Reviewed-on: https://go-review.googlesource.com/74650 Reviewed-by: Tom Bergan --- src/net/http/client.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/net/http/client.go b/src/net/http/client.go index 3ed666e815..65e0fa2bc4 100644 --- a/src/net/http/client.go +++ b/src/net/http/client.go @@ -760,7 +760,7 @@ func PostForm(url string, data url.Values) (resp *Response, err error) { // with data's keys and values URL-encoded as the request body. // // The Content-Type header is set to application/x-www-form-urlencoded. -// To set other headers, use NewRequest and DefaultClient.Do. +// To set other headers, use NewRequest and Client.Do. // // When err is nil, resp always contains a non-nil resp.Body. // Caller should close resp.Body when done reading from it. -- 2.48.1