Re: [fetch] Support full-duplex HTTP streaming (#229)

Mark - thanks for the notes. 

You are correct about what is being asked for, the ability to consume the response before the request has been completely produced by the caller (as opposed to fully produced but buffered in some IO layer)

With respect to browser implementations, they may or may not support this in their internals but there has never been a way to express this behavior in XHR because of the API shape. Addressing the API must come first, then implementers can support as desired. Hopefully they see value in doing so.

As for HTTP/1.1 support for this behavior: I've found it impossible to find anything which explicitly says this is allowed anywhere. If you have a canonical reference that would be helpful. The best I can say is that nothing says it's not allowed which leads to no shortage of confusion when I talk to people about this. If there isn't anything explicit could it be added?

---
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/fetch/issues/229#issuecomment-191492108

Received on Wednesday, 2 March 2016 23:31:04 UTC