diff --git a/stats/stats_http.go b/stats/stats_http.go index e857ecc3..a507b32c 100644 --- a/stats/stats_http.go +++ b/stats/stats_http.go @@ -41,6 +41,7 @@ func (s *statsCtx) handleStats(w http.ResponseWriter, r *http.Request) { return } + w.Header().Set("Content-Type", "application/json") w.Write(data) }