We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5d5a3d4 commit f380b8bCopy full SHA for f380b8b
frameworks/Rust/hyperlane/src/request_middleware.rs
@@ -4,7 +4,7 @@ pub async fn request(controller_data: ControllerData) {
4
let _ = controller_data
5
.set_response_header(CONNECTION, CONNECTION_KEEP_ALIVE)
6
.await
7
- .set_request_header(
+ .set_response_header(
8
CONTENT_TYPE,
9
format!("{}; {}", APPLICATION_JSON, CHARSET_UTF_8),
10
)
0 commit comments