diff --git a/internal/httputils/http.go b/internal/httputils/http.go index 2aef47c..6a3a39a 100644 --- a/internal/httputils/http.go +++ b/internal/httputils/http.go @@ -81,7 +81,7 @@ func writeBanResponse(w http.ResponseWriter, statusCode int) error { if code <= 0 { code = http.StatusForbidden } - + w.Header().Set("Content-Type", "text/plain; charset=utf-8") w.WriteHeader(code) return nil }