diff --git a/services/context/context_response.go b/services/context/context_response.go index f36b834a44..9ed343c5cc 100644 --- a/services/context/context_response.go +++ b/services/context/context_response.go @@ -148,7 +148,7 @@ func (ctx *Context) notFoundInternal(logMsg string, logErr error) { } if !showHTML { - ctx.plainTextInternal(3, http.StatusNotFound, []byte("Not found.\n")) + ctx.plainTextInternal(3, http.StatusNotFound, []byte(http.StatusText(http.StatusNotFound))) return }