Skip to content

Commit c6517d4

Browse files
committed
feat: utf8
1 parent c884aa5 commit c6517d4

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

frameworks/Rust/hyperlane/src/request_middleware.rs

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,7 @@ pub async fn request(ctx: Context) {
99
.await;
1010
#[cfg(feature = "plaintext")]
1111
{
12-
ctx.set_response_header(
13-
CONTENT_TYPE,
14-
ContentType::format_content_type_with_charset(TEXT_PLAIN, UTF8),
15-
)
16-
.await;
12+
ctx.set_response_header(CONTENT_TYPE, TEXT_PLAIN).await;
1713
}
1814
#[cfg(feature = "fortunes")]
1915
{

0 commit comments

Comments
 (0)