You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Trying to return an http 204, fails with a 500 and a TypeError in the console.
TypeError: Response with null body status cannot have body
at initializeAResponse (ext:deno_fetch/23_response.js:202:13)
at new Response (ext:deno_fetch/23_response.js:337:5)
at UserWorker.fetch (ext:sb_user_workers/user_workers.js:52:16)
at async Server.<anonymous> (file:///home/deno/main/index.ts:102:16)
at async Server.#respond (https://deno.land/[email protected]/http/server.ts:220:24)
Activity
laktek commentedon May 8, 2023
Thanks for opening a ticket @johanneswuerbach - will take a look.
laktek commentedon May 18, 2023
We had to revert this fix as it was breaking other streaming responses (for example, Server-Sent Events)
laktek commentedon May 18, 2023
Fixed in CLI 1.61.3