1
0
mirror of https://github.com/kataras/iris.git synced 2026-03-05 16:05:58 +00:00

Add some unofficial http error codes

Former-commit-id: 5b9ed411e446e5e4d5e6c3ec705c314cc5c1c9ec
This commit is contained in:
Gerasimos (Makis) Maropoulos
2020-05-16 23:40:42 +03:00
parent f482e13fb7
commit 571322f595
4 changed files with 132 additions and 34 deletions

View File

@@ -506,7 +506,7 @@ func (h *routerHandler) FireErrorCode(ctx context.Context) {
}
// not error handler found, write a default message.
ctx.WriteString(http.StatusText(statusCode))
ctx.WriteString(StatusText(statusCode))
}
func statusCodeSuccessful(statusCode int) bool {