Skip to content

Commit

Permalink
set default content-type
Browse files Browse the repository at this point in the history
  • Loading branch information
biryukovmaxim committed Jun 19, 2023
1 parent aa21170 commit b48799a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions engineioxide/src/futures.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ where
{
Response::builder()
.status(code)
.header("Content-Type", "text/plain")
.body(ResponseBody::custom_response(data.into()))
}

Expand Down

0 comments on commit b48799a

Please sign in to comment.