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:
parent
cc6b31d0ef
commit
b9ac79d9d4
@ -85,6 +85,7 @@ func (r *Request) FormFile(name string) (*multipart.FileHeader, error) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func (r *Request) MultipartForm() (*multipart.Form, error) {
|
func (r *Request) MultipartForm() (*multipart.Form, error) {
|
||||||
|
r.Request.ParseMultipartForm(32 << 20) // 32 MB
|
||||||
return r.Request.MultipartForm, nil
|
return r.Request.MultipartForm, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user