mirror of
https://github.com/labstack/echo.git
synced 2025-07-05 00:58:47 +02:00
Engine > Standard > Request > ParseMultipartForm
Signed-off-by: Vishal Rana <vr@labstack.com>
This commit is contained in:
@ -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
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user