mirror of
https://github.com/kataras/iris.git
synced 2026-01-07 12:07:28 +00:00
replace ioutil with io package and other minor improvements
This commit is contained in:
@@ -111,7 +111,6 @@ func StatusText(code int) string {
|
||||
// Read more at `iris/Configuration#DisableAutoFireStatusCode` and
|
||||
// `iris/core/router/Party#OnAnyErrorCode` for relative information.
|
||||
//
|
||||
//
|
||||
// Modify this variable when your Iris server or/and client
|
||||
// not follows the RFC: https://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html
|
||||
var StatusCodeNotSuccessful = func(statusCode int) bool { return statusCode >= 400 }
|
||||
|
||||
Reference in New Issue
Block a user