Actually looks like its already fixed:
https://github.com/golang/go/issues/24041
https://github.com/golang/go/commit/f69ad10377b1817e3db57851226a23973caa584e
On 18/05/2018 13:06, mosalo...@gmail.com wrote:
Hi!
In version 1.9, I had no problem getting the FormValue in http request.
After upgrading to version Go 1.10 of FormValue is empty. Did I find
the error? in module:
mine/multipart/formdata.go
/before/:
_, hasContentTypeHeader := p.Header["Content-Type"]
if *!*hasContentTypeHeader && filename == ""
/after/
_, hasContentTypeHeader := p.Header["Content-Type"]
if hasContentTypeHeader && filename == ""
began to work as I need
--
You received this message because you are subscribed to the Google
Groups "golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to golang-nuts+unsubscr...@googlegroups.com
<mailto:golang-nuts+unsubscr...@googlegroups.com>.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.