Closed
Description
by Adrian.Migraso:
Before filing a bug, please check whether it has been fixed since the latest release. Search the issue tracker and check that you're running the latest version of Go: Run "go version" and compare against http://golang.org/doc/devel/release.html If a newer version of Go exists, install it and retry what you did to reproduce the problem. Thanks. What steps will reproduce the problem? If possible, include a link to a program on play.golang.org. 1. set your header to "multipart/form-data, boundary=xxxx" (notice its a comma) 2. use ParseMultipartForm() What is the expected output? err should be ErrNotMultipart What do you see instead? err is nil Which compiler are you using (5g, 6g, 8g, gccgo)? don't know, was just running go Which operating system are you using? windows Which version are you using? (run 'go version') go1.1.2 windows/386 Please provide any additional information below. Maybe these lines from http://golang.org/src/pkg/net/http/request.go was the cause. 766 mr, err := r.multipartReader() 767 if err == ErrNotMultipart { 768 return nil 769 } else if err != nil { 770 return err 771 }