mirror of
https://github.com/kataras/iris.git
synced 2025-12-17 18:07:01 +00:00
minor
Former-commit-id: e83456ced3d00d6da3001d083e22a0568748298e
This commit is contained in:
4
cache/client/handler.go
vendored
4
cache/client/handler.go
vendored
@@ -64,9 +64,7 @@ func (h *Handler) AddRule(r rule.Rule) *Handler {
|
||||
}
|
||||
|
||||
var emptyHandler = func(ctx context.Context) {
|
||||
ctx.StatusCode(500)
|
||||
ctx.WriteString("cache: empty body handler")
|
||||
ctx.StopExecution()
|
||||
ctx.StopWithText(500, "cache: empty body handler")
|
||||
}
|
||||
|
||||
func parseLifeChanger(ctx context.Context) entry.LifeChanger {
|
||||
|
||||
Reference in New Issue
Block a user