mirror of
https://github.com/kataras/iris.git
synced 2025-12-17 18:07:01 +00:00
statuses: sync with std package
This commit is contained in:
@@ -102,7 +102,7 @@ func upload(ctx iris.Context) {
|
||||
|
||||
_, _, err := ctx.UploadFormFiles(uploadDir, beforeSave)
|
||||
if err != nil {
|
||||
ctx.StopWithError(iris.StatusPayloadTooRage, err)
|
||||
ctx.StopWithError(iris.StatusRequestEntityTooLarge, err)
|
||||
return
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user