diff --git a/serialization.go b/serialization.go index 0558e360..f8a9d88e 100644 --- a/serialization.go +++ b/serialization.go @@ -100,6 +100,7 @@ func SendJSONError(w http.ResponseWriter, err error) { } w.WriteHeader(status) + w.Header().Set("Content-Type", "application/problems+json") SendJSON(w, errorStatus) }