1
0
mirror of https://github.com/labstack/echo.git synced 2025-11-06 08:59:21 +02:00
Signed-off-by: Vishal Rana <vr@labstack.com>
This commit is contained in:
Vishal Rana
2015-09-24 14:14:01 -07:00
parent d079d36162
commit 51a1ef432c
3 changed files with 17 additions and 18 deletions

View File

@@ -25,8 +25,7 @@ import (
func upload(c *echo.Context) error {
req := c.Request()
// req.ParseMultipartForm(16 << 20) // Max memory 16 MiB
req.ParseMultipartForm(16 << 20) // Max memory 16 MiB
// Read form fields
name := c.Form("name")