Re: [XHR] upload progress events ("successfully uploaded")
On Fri, 23 Dec 2011 16:41:23 +0100, Anne van Kesteren wrote: I plan on making these two changes: * Instead of saying "If the request entity body has been successfully uploaded" I will say "If the request entity body has been fully transmitted" to make it clear we do not need to wait for the response. I think that was the original intent, I just did not know how to word it properly. I think "fully transmitted" should be clear, but if anyone has a better idea that would be more than welcome. * Fire a progress event named progress before load/error/abort/timeout are dispatched. Based on these threads: http://lists.w3.org/Archives/Public/public-webapps/2011JanMar/0993.html http://lists.w3.org/Archives/Public/public-webapps/2011JanMar/0988.html Done: http://dvcs.w3.org/hg/xhr/rev/1697baff2709 http://dvcs.w3.org/hg/xhr/rev/5c90cb13ad25 I included wording similar to what Björn suggested by the way. -- Anne van Kesteren http://annevankesteren.nl/
Re: [XHR] upload progress events ("successfully uploaded")
* Anne van Kesteren wrote: >I plan on making these two changes: > >* Instead of saying "If the request entity body has been successfully >uploaded" I will say "If the request entity body has been fully >transmitted" to make it clear we do not need to wait for the response. I >think that was the original intent, I just did not know how to word it >properly. I think "fully transmitted" should be clear, but if anyone has a >better idea that would be more than welcome. With HTTP over TCP you would need a response on the TCP level to tell whether the server actually received the upload completely, and con- ceptually you want to deliver the whole Request message successfully; the entity body is enveloped in the Request message. I am not sure why you would even discuss HTTP Request message separately from Response messages for progress events, but in any case, if you want it to be clear that this is about HTTP message delivery on the transport level, and not about HTTP application level "success", you should make this more explicit than through subtle choice of words. Something like "when the Request message has been delivered, even if the server has not yet begun transmitting a Response message, and re- gardless of the status code ..." does not leave much room for inter- pretation. -- Björn Höhrmann · mailto:bjo...@hoehrmann.de · http://bjoern.hoehrmann.de Am Badedeich 7 · Telefon: +49(0)160/4415681 · http://www.bjoernsworld.de 25899 Dagebüll · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/
[XHR] upload progress events ("successfully uploaded")
I plan on making these two changes: * Instead of saying "If the request entity body has been successfully uploaded" I will say "If the request entity body has been fully transmitted" to make it clear we do not need to wait for the response. I think that was the original intent, I just did not know how to word it properly. I think "fully transmitted" should be clear, but if anyone has a better idea that would be more than welcome. * Fire a progress event named progress before load/error/abort/timeout are dispatched. Based on these threads: http://lists.w3.org/Archives/Public/public-webapps/2011JanMar/0993.html http://lists.w3.org/Archives/Public/public-webapps/2011JanMar/0988.html -- Anne van Kesteren http://annevankesteren.nl/