[XHR2] Streamed send or receive

2011-10-06 Thread Wenbo Zhu
I'd like to hear from the WG if the following use cases or issues have been discussed before. 1) When onreadystatechange is invoked as new response data is being received, currently there is no way to clear any buffered responseText (alike) that has already been consumed. The lack of such a

Re: [XHR2] Streamed send or receive

2011-10-06 Thread Wenbo Zhu
Sorry, the API for 2) should read: SendPartialRequest(). On Thu, Oct 6, 2011 at 12:57 AM, Wenbo Zhu wen...@google.com wrote: I'd like to hear from the WG if the following use cases or issues have been discussed before. 1) When onreadystatechange is invoked as new response data is being

Re: [XHR2] Streamed send or receive

2011-10-21 Thread Wenbo Zhu
: On Thu, Oct 6, 2011 at 10:57 AM, Wenbo Zhu wen...@google.com wrote: I'd like to hear from the WG if the following use cases or issues have been discussed before. 1) When onreadystatechange is invoked as new response data is being received, currently there is no way to clear any buffered

Re: [XHR] chunked

2011-12-07 Thread Wenbo Zhu
On Wed, Nov 30, 2011 at 7:28 AM, Anne van Kesteren ann...@opera.com wrote: A while ago sicking proposed adding chunked support to XMLHttpRequest: http://lists.w3.org/Archives/**Public/public-webapps/** 2011JulSep/0741.htmlhttp://lists.w3.org/Archives/Public/public-webapps/2011JulSep/0741.html

[XHR] chunked requests

2011-12-07 Thread Wenbo Zhu
One use case that we have which is not currently handled by XMLHttpRequest is incrementally sending data that takes a long time to generate _from the client to the server_. For example, if we were to record data from a microphone, we couldn't upload it in real time to the server with the current

Re: [XHR] chunked requests

2011-12-12 Thread Wenbo Zhu
On Thu, Dec 8, 2011 at 2:36 PM, Charles Pritchard ch...@jumis.com wrote: On Dec 8, 2011, at 1:04 PM, Wenbo Zhu wen...@google.com wrote: On Wed, Dec 7, 2011 at 6:04 PM, Charles Pritchard ch...@jumis.com ch...@jumis.com wrote: ** I think the Web Sockets spec is intended for client

Re: [XHR] chunked

2012-06-07 Thread Wenbo Zhu
On Thu, Jun 7, 2012 at 2:14 AM, Henri Sivonen hsivo...@iki.fi wrote: On Thu, May 24, 2012 at 8:59 AM, Anne van Kesteren ann...@annevk.nl wrote: On Thu, May 24, 2012 at 2:54 AM, Jonas Sicking jo...@sicking.cc wrote: Is there a reason not to add chunked-text and chunked-arraybuffer to the

Re: [XHR] chunked

2012-06-07 Thread Wenbo Zhu
On Thu, Jun 7, 2012 at 2:34 AM, Anne van Kesteren ann...@annevk.nl wrote: On Thu, Jun 7, 2012 at 11:30 AM, Wenbo Zhu wen...@google.com wrote: Yes, this will be the desired behavior. Can I take this as Chrome being interested in implementing the chunked proposal as well? Will have to get back

Re: [XHR] chunked

2012-09-27 Thread Wenbo Zhu
On Thu, Sep 27, 2012 at 12:21 PM, Travis Leithead travis.leith...@microsoft.com wrote: From: annevankeste...@gmail.com [mailto:annevankeste...@gmail.com] On Thu, Sep 27, 2012 at 7:42 PM, Travis Leithead travis.leith...@microsoft.com wrote: In my observation of the current IE behavior,

Re: Streams and Blobs

2013-03-06 Thread Wenbo Zhu
On Tue, Feb 26, 2013 at 7:53 AM, Glenn Maynard gl...@zewt.org wrote: On Tue, Feb 26, 2013 at 4:56 AM, Anne van Kesteren ann...@annevk.nlwrote: The advantage the Streams API seems to have over moz-blob is that you do not need to create a new object to read from each time there's fresh data.