guest271314
guest27131412mo ago

Why doesn't POST response from serveTls support streaming chunks from a ReadableStream?

We can POST a ReadableStream to a serveTls server, however when we respond with a ReadableStream the chunks don't actually get sent to the client until we call controller.close() on the client. The means we have to make a POST request first, then a GET request to write to an upload stream and read the response stream from the server at the same time. Some code https://www.reddit.com/r/Deno/comments/150wet7/comment/js69iu6/?context=3.
0 Replies
No replies yetBe the first to reply to this messageJoin