forked from fbl/keyserver
Fix content-type
This commit is contained in:
parent
34a6f9d0b8
commit
b140b7d961
|
@ -159,7 +159,7 @@ func keyserverV2(w http.ResponseWriter, r *http.Request) {
|
||||||
w.WriteHeader(http.StatusInternalServerError)
|
w.WriteHeader(http.StatusInternalServerError)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
w.Header().Add("Content-Encoding", "application/json")
|
w.Header().Add("Content-Type", "application/json; charset=utf-8")
|
||||||
w.Write(b)
|
w.Write(b)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue