Re: Progress Events normative text

On Wed, Jun 17, 2009 at 5:49 AM, Anne van Kesteren<annevk@opera.com> wrote:
> On Mon, 15 Jun 2009 17:00:46 +0200, Charles McCathieNevile <chaals@opera.com> wrote:
>> On Sat, 13 Jun 2009 13:54:10 +0200, Anne van Kesteren <annevk@opera.com>
>> wrote:
>>> That definitely makes sense, though please take into consideration that
>>> for cross-origin loads exposing the file size cannot be done until all
>>> HTTP headers have been received and the requested resource has opted in
>>> with CORS.
>>
>> OK. One of the things I intended to keep leaving to the "host" spec was
>> definining what the size actually refers to.
>
> I'd think we would like this to consistently refer to the entity body for all usage of progress events as to not
> confuse people using the API. It seems odd to take great care in order and naming but not in consistent
> implementation of the event objects.

At the very least we can define that for HTTP request, headers are not
used. For things like WebSocket and FutureAwesomeMegaAlienProtocol it
might make sense to do something different, perhaps.

/ Jonas

Received on Thursday, 18 June 2009 17:29:44 UTC