Former-commit-id: c9e6732d3309d621d27acad6b99f2e378bd98e01
This commit is contained in:
Success Go 2020-01-12 14:59:15 +08:00
parent 4cfd3c7a05
commit a25e3fc92b

View File

@ -921,7 +921,7 @@ func (api *APIBuilder) Favicon(favPath string, requestPath ...string) *Route {
// OnErrorCode registers an error http status code // OnErrorCode registers an error http status code
// based on the "statusCode" < 200 || >= 400 (came from `context.StatusCodeNotSuccessful`). // based on the "statusCode" < 200 || >= 400 (came from `context.StatusCodeNotSuccessful`).
// The handler is being wrapepd by a generic // The handler is being wrapped by a generic
// handler which will try to reset // handler which will try to reset
// the body if recorder was enabled // the body if recorder was enabled
// and/or disable the gzip if gzip response recorder // and/or disable the gzip if gzip response recorder