aboutsummaryrefslogtreecommitdiff
path: root/src/net/http/request.go
diff options
context:
space:
mode:
authorDarren McCleary <darren.rmc@gmail.com>2019-08-01 20:34:29 +0000
committerEmmanuel Odeke <emm.odeke@gmail.com>2019-08-01 20:35:26 +0000
commite7c51cad71126c40bf130db30c35953321f32c9d (patch)
treed5ab47b960380398c60f451f19afcd389d773060 /src/net/http/request.go
parentd6f6a46c0722e2e4565c5b146ab3012d9327efd1 (diff)
downloadgo-e7c51cad71126c40bf130db30c35953321f32c9d.tar.gz
go-e7c51cad71126c40bf130db30c35953321f32c9d.zip
net/http: fix a typo in spelling of MultiPartForm
Change-Id: I33a5313ef10e8c88d9c12507573b385fa0843afe GitHub-Last-Rev: 844d4351583e3f2e94d6420dcd50d50845d1b4cb GitHub-Pull-Request: golang/go#33412 Reviewed-on: https://go-review.googlesource.com/c/go/+/188498 Reviewed-by: Emmanuel Odeke <emm.odeke@gmail.com>
Diffstat (limited to 'src/net/http/request.go')
-rw-r--r--src/net/http/request.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/http/request.go b/src/net/http/request.go
index e53dde16b4..31d62083cb 100644
--- a/src/net/http/request.go
+++ b/src/net/http/request.go
@@ -450,7 +450,7 @@ func (r *Request) Referer() string {
// multipartByReader is a sentinel value.
// Its presence in Request.MultipartForm indicates that parsing of the request
-// body has been handed off to a MultipartReader instead of ParseMultipartFrom.
+// body has been handed off to a MultipartReader instead of ParseMultipartForm.
var multipartByReader = &multipart.Form{
Value: make(map[string][]string),
File: make(map[string][]*multipart.FileHeader),