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

Re: ISSUE-109: Do loaded/total count the bytes transferred with encodings applied or not?

From: Charles McCathieNevile <chaals@opera.com>
Date: Tue, 06 Feb 2007 14:13:53 +0530
To: "Boris Zbarsky" <bzbarsky@mit.edu>, "Julian Reschke" <julian.reschke@gmx.de>
Cc: "Web APIs WG" <public-webapi@w3.org>
Message-ID: <op.tnbjvfgrwxe0ny@widsith.local>

On Mon, 05 Feb 2007 23:22:29 +0530, Boris Zbarsky <bzbarsky@MIT.EDU> wrote:

> Julian Reschke wrote:
>>> It gives the encoded length, since Content-Length is how many bytes
>>> you need to read from the connection.
>> This is true for Content-Encoding, but IMHO not for Transfer-Encoding.
>> Don't confuse them!
> So as long as servers are compliant, the issue of Transfer-Encoding
> combined with Content-Length is moot anyway (and in that case, the
> chunked stuff is used to determine the transfer-length).

So it seems we should resolve ISSUE-109 so the total attribute contains the 
number of bytes that will actually be transferred, i.e. with encodings and so on 



Charles McCathieNevile, Opera Software: Standards Group
hablo español - je parle français - jeg lærer norsk
chaals@opera.com Try Opera 9.1 http://opera.com
Received on Tuesday, 6 February 2007 08:44:08 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:16:23 UTC