0
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2025-03-11 14:47:26 -04:00
deno/ext/flash
Isaiah Gamble 2df72a6e54
fix(ext/flash): Fix panic when JS caller doesn't consume request body (#16173)
If the JS handler gets a POST, PUT, or PATCH request, but doesn't
`await` the body, deno would panic because it will try to read the body
even though the request has already been handled.

Not sure how/where to test this case, so I could use some help with
that.
2023-01-16 21:35:23 +01:00
..
01_http.js fix(ext/flash): Fix typo in 'chunked' flash ops (#17302) 2023-01-16 21:34:39 +01:00
Cargo.toml 1.29.3 (#17395) 2023-01-13 12:17:13 -05:00
chunked.rs chore: add copyright_checker tool and add the missing copyright (#17285) 2023-01-13 11:20:20 -05:00
lib.rs fix(ext/flash): Fix panic when JS caller doesn't consume request body (#16173) 2023-01-16 21:35:23 +01:00
README.md feat(unstable): change Deno.serve() API (#15498) 2022-08-19 14:36:01 +02:00
request.rs chore: update copyright year to 2023 (#17247) 2023-01-05 13:05:49 +01:00
sendfile.rs chore: use rustfmt imports_granularity option (#17421) 2023-01-16 21:35:00 +01:00
socket.rs chore: use rustfmt imports_granularity option (#17421) 2023-01-16 21:35:00 +01:00

flash

Flash is a fast HTTP/1.1 server implementation for Deno.

serve({ fetch: (req) => new Response("Hello World") });