Skip to content
This repository has been archived by the owner on Apr 11, 2024. It is now read-only.

Commit

Permalink
Merge pull request #81 from mercari/append-charset-stat-resp
Browse files Browse the repository at this point in the history
stat: appened charset to Content-Type.
  • Loading branch information
cubicdaiya authored Sep 4, 2017
2 parents ef9accf + a9d6e93 commit a34973e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gaurun/stat.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ func StatsHandler(w http.ResponseWriter, r *http.Request) {
return
}

w.Header().Set("Content-Type", "application/json")
w.Header().Set("Content-Type", "application/json; charset=utf-8")
w.Header().Set("Server", serverHeader())
w.Write(respBody)
}

0 comments on commit a34973e

Please sign in to comment.