net/http: `r.FormValue()` ignores the return value of `ParseMultipartForm()` #20895
Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (
changed the title
net/http `r.FormValue` ignores the return value of `ParseMultipartForm`
Jul 3, 2017
Request.FormValue is a convenience, best-effort method. If it's not convenient, don't use it.
We can't change its signature (https://golang.org/doc/go1compat) even if we wanted to.
Typical caller code will check FormValue for acceptable values and return an HTTP