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:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user