1
0
mirror of https://github.com/labstack/echo.git synced 2025-03-21 21:27:04 +02:00

Engine > Standard > Request > ParseMultipartForm

Signed-off-by: Vishal Rana <vr@labstack.com>
This commit is contained in:
Vishal Rana 2016-03-13 14:19:22 -07:00
parent cc6b31d0ef
commit b9ac79d9d4

View File

@ -85,6 +85,7 @@ func (r *Request) FormFile(name string) (*multipart.FileHeader, error) {
}
func (r *Request) MultipartForm() (*multipart.Form, error) {
r.Request.ParseMultipartForm(32 << 20) // 32 MB
return r.Request.MultipartForm, nil
}