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

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 
applied. 

cheers

Chaals

-- 
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