1
0
Fork 0

Fix content-type

This commit is contained in:
Fabian Bläse 2024-03-10 23:25:53 +01:00
parent 34a6f9d0b8
commit b140b7d961
1 changed files with 1 additions and 1 deletions

View File

@ -159,7 +159,7 @@ func keyserverV2(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(http.StatusInternalServerError)
return
}
w.Header().Add("Content-Encoding", "application/json")
w.Header().Add("Content-Type", "application/json; charset=utf-8")
w.Write(b)
}