W3C home > Mailing lists > Public > public-webapi@w3.org > March 2007

Re: New Progress Events spec

From: Maciej Stachowiak <mjs@apple.com>
Date: Wed, 7 Mar 2007 01:05:00 -0800
Message-Id: <2509B0E6-1D1C-4E68-B5DF-CB5BAA04FC75@apple.com>
Cc: Charles McCathieNevile <chaals@opera.com>, web API <public-webapi@w3.org>, WAI PF public <wai-xtech@w3.org>
To: Anne van Kesteren <annevk@opera.com>


On Mar 7, 2007, at 12:45 AM, Anne van Kesteren wrote:

> On Wed, 07 Mar 2007 08:38:41 +0100, Maciej Stachowiak  
> <mjs@apple.com> wrote:
>>> When the size is known, that knowledge is not necessarily accurate.
>>
>> Can you cite an example?
>
>   Content-Length: 2
>   Content-Type: text/plain; charset="us-ascii"
>
>   xxxx
>
> Would be one I suppose...

This is not a valid http message. The http spec seems to want you to  
treat this this is length 2 entity-body, but it's not very clear (it  
also says user-agents MUST warn the user in this case, but I don't  
think anyone does that). Safari 2 and Opera 9 appear to respect this,  
although Firefox 2 doesn't. I don't know if that's a bug or a  
deliberate compatibility feature.

Regards,
Maciej
Received on Wednesday, 7 March 2007 09:05:32 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:18:57 GMT