mirror of
https://github.com/denoland/deno.git
synced 2024-12-22 23:34:47 -05:00
9830ae8297
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. |
||
---|---|---|
.. | ||
01_http.js | ||
Cargo.toml | ||
chunked.rs | ||
lib.rs | ||
README.md | ||
request.rs | ||
sendfile.rs | ||
socket.rs |
flash
Flash is a fast HTTP/1.1 server implementation for Deno.
serve({ fetch: (req) => new Response("Hello World") });