Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
belenios
belenios
Commits
0276d16e
Commit
0276d16e
authored
Mar 10, 2017
by
Stephane Glondu
Browse files
Serve election.json with explicit utf-8 charset
parent
075a171e
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/web/web_site.ml
View file @
0276d16e
...
...
@@ -1433,7 +1433,8 @@ let () =
handle_election_tally_release
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"
let
handle_pseudo_file
uuid_s
w
f
site_user
=
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment