W3C home > Mailing lists > Public > public-webapps@w3.org > October to December 2011

Re: [XHR] upload progress events ("successfully uploaded")

From: Bjoern Hoehrmann <derhoermi@gmx.net>
Date: Sat, 24 Dec 2011 01:36:22 +0100
To: "Anne van Kesteren" <annevk@opera.com>
Cc: "WebApps WG" <public-webapps@w3.org>
Message-ID: <ah5af7106mf16okdg6ocfj34je7p519mit@hive.bjoern.hoehrmann.de>
* 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:bjoern@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/ 
Received on Saturday, 24 December 2011 00:36:49 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 18:49:49 GMT