Skip to content

Commit

Permalink
set charset
Browse files Browse the repository at this point in the history
  • Loading branch information
biryukovmaxim committed Jun 19, 2023
1 parent 0ac683c commit 993eaaf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion engineioxide/src/futures.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ where
{
Response::builder()
.status(code)
.header("Content-Type", "text/plain")
.header("Content-Type", "text/plain; charset=UTF-8")
.body(ResponseBody::custom_response(data.into()))
}

Expand Down

0 comments on commit 993eaaf

Please sign in to comment.