diff --git a/cmd/rove-server/router.go b/cmd/rove-server/router.go index dbecf4b..ecb1846 100644 --- a/cmd/rove-server/router.go +++ b/cmd/rove-server/router.go @@ -27,5 +27,10 @@ func HandleStatus(w http.ResponseWriter, r *http.Request) { Ready: true, } + // Be a good citizen and set the header for the return + w.Header().Set("Content-Type", "application/json; charset=UTF-8") + w.WriteHeader(http.StatusOK) + + // Reply with the current status json.NewEncoder(w).Encode(status) }