We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
gin/binding/form.go
func (formBinding) Bind(req *http.Request, obj interface{}) error { if err := req.ParseForm(); err != nil { return err } req.ParseMultipartForm(defaultMemory) if err := mapForm(obj, req.Form); err != nil { return err } return validate(obj) }
req.ParseMultipartForm(defaultMemory) should return error
The text was updated successfully, but these errors were encountered:
As I see, should return error except one - http.ErrNotMultipart. Because formBinding used not only for multipart form.
http.ErrNotMultipart
formBinding
Sorry, something went wrong.
No branches or pull requests
Description
gin/binding/form.go
req.ParseMultipartForm(defaultMemory) should return error
The text was updated successfully, but these errors were encountered: