1
0
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:
Gerasimos (Makis) Maropoulos
2022-03-02 01:51:55 +02:00
parent 17260d8d5d
commit 43c85d0c85
2 changed files with 64 additions and 64 deletions

View File

@@ -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
}