DenoDDeno
Powered by
guest271314G
Denoβ€’3y ago
guest271314

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.
reddit
r/Deno - Comment by u/bogdanbiv on ”Why doesn't serveTls stream dat...
1 vote and 2 comments so far on Reddit
Deno banner
DenoJoin
Chat about Deno, a modern runtime for JavaScript and TypeScript.
20,934Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?

Similar Threads

Fresh migrating from serveTls
rabbit_rabbitRrabbit_rabbit / help
3y ago
ReadableStream doesn't work in production
jsJjs / help
11mo ago
How to stop reading from a ReadableStream?
1771771771177177177 / help
4y ago
How to feed a ReadableStream / async Generator into a Response object?
spirobelSspirobel / help
3y ago