1
0
mirror of https://github.com/golang/go synced 2024-09-29 03:24:29 -06:00

net/http: fix a typo in spelling of MultiPartForm

Change-Id: I33a5313ef10e8c88d9c12507573b385fa0843afe
GitHub-Last-Rev: 844d435158
GitHub-Pull-Request: golang/go#33412
Reviewed-on: https://go-review.googlesource.com/c/go/+/188498
Reviewed-by: Emmanuel Odeke <emm.odeke@gmail.com>
This commit is contained in:
Darren McCleary 2019-08-01 20:34:29 +00:00 committed by Emmanuel Odeke
parent d6f6a46c07
commit e7c51cad71

View 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),