Commit 0276d16e authored by Stephane Glondu's avatar Stephane Glondu

Serve election.json with explicit utf-8 charset

parent 075a171e
...@@ -1433,7 +1433,8 @@ let () = ...@@ -1433,7 +1433,8 @@ let () =
handle_election_tally_release handle_election_tally_release
let content_type_of_file = function let content_type_of_file = function
| ESRaw | ESKeys | ESBallots | ESETally | ESResult -> "application/json" | ESRaw -> "application/json; charset=utf-8"
| ESKeys | ESBallots | ESETally | ESResult -> "application/json"
| ESCreds | ESRecords | ESVoters -> "text/plain" | ESCreds | ESRecords | ESVoters -> "text/plain"
let handle_pseudo_file uuid_s w f site_user = let handle_pseudo_file uuid_s w f site_user =
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment