Skip to content

Commit

Permalink
Update src/wasm/client.rs
Browse files Browse the repository at this point in the history
Co-authored-by: crapStone <crapstone01@gmail.com>
  • Loading branch information
6543 and crapStone committed Oct 12, 2021
1 parent 2db84c4 commit 4d1a611
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/wasm/client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ async fn fetch(req: Request) -> crate::Result<Response> {
.expect_throw("deserializable serialized headers");
let name = HeaderName::from_str(&name).unwrap();
let value = HeaderValue::from_str(&value).unwrap();
resp = resp.header(name, value);
resp = resp.header(&name, &value);
}

resp.body(js_resp)
Expand Down

0 comments on commit 4d1a611

Please sign in to comment.