Re: [XHR2] load events on XMHttpRequestUpload

On 6/21/11 3:01 PM, Darin Fisher wrote:
> Isn't there already a signal to tell you when response headers are
> available?

Yes; I believe the readystate changes at this point and 
onreadystatechange is fired.

> Isn't it a bit redundant for the upload complete notification to be tied to the
> same signal?

Yes, sure.  But that the point when the browser knows the upload is 
complete....

> To support the use case of showing a progress meter, it seems helpful to
> know when the browser has finished writing bytes on the wire.

If you're willing to restart the meter from 0 in some cases, perhaps.

 > It also seems like it would be useful
> for there to be a "resend" event indicating that the upload will be
> resent.  Otherwise, one
> has to guess this.

Yep.

-Boris

Received on Tuesday, 21 June 2011 19:31:26 UTC