Skip to content

Commit

Permalink
Merge pull request fermyon#1960 from fermyon/fix-main
Browse files Browse the repository at this point in the history
Fix main branch
  • Loading branch information
rylev authored Oct 26, 2023
2 parents b40ef35 + fbd23a2 commit fd3a9a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/wasi-http-streaming-file/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ async fn stream_file(_req: IncomingRequest, res: ResponseOutparam) -> Result<()>
);

let mut body = response.take_body();
res.set(response);

ResponseOutparam::set(res, Ok(response));
let mut file =
File::open("target/wasm32-wasi/release/wasi_http_rust_streaming_outgoing_body.wasm")?;

Expand Down

0 comments on commit fd3a9a7

Please sign in to comment.