]> Cypherpunks repositories - gostls13.git/commitdiff
net/http: fix a typo in spelling of MultiPartForm
authorDarren McCleary <darren.rmc@gmail.com>
Thu, 1 Aug 2019 20:34:29 +0000 (20:34 +0000)
committerEmmanuel Odeke <emm.odeke@gmail.com>
Thu, 1 Aug 2019 20:35:26 +0000 (20:35 +0000)
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>
src/net/http/request.go

index e53dde16b4f7207a533208bad21559c359a31759..31d62083cb0ee3287a2f968735a325163d477693 100644 (file)
@@ -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),