mirror of
https://github.com/denoland/deno.git
synced 2024-11-25 15:29:32 -05:00
b5425ae2d3
Currently Content-Length is sent when the status code is 204. However, according to the spec, this should not be sent. Modify the if statement below to prevent the Content-Length from being sent. |
||
---|---|---|
.. | ||
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") });