Refactor redirect request in gin.go (#1970)

* Refactor redirect request in gin.go

* Update http status code
This commit is contained in:
Ngalim Siregar
2019-11-26 07:19:30 +07:00
committed by thinkerou
parent 3c8e29b53c
commit 231ff00d1f
2 changed files with 17 additions and 16 deletions

View File

@ -8,7 +8,7 @@ import (
"net/http"
)
const defaultMemory = 32 * 1024 * 1024
const defaultMemory = 32 << 20
type formBinding struct{}
type formPostBinding struct{}