- From: Boris Zbarsky <bzbarsky@mit.edu>
- Date: Mon, 29 Jan 2007 09:12:09 -0600
- To: Maciej Stachowiak <mjs@apple.com>
- CC: Web APIs WG <public-webapi@w3.org>
Maciej Stachowiak wrote: >> i.e. if you have a transfer-encoding or content-encoding, do you count >> the transfer size before or after you are unpacking? >> >> Seems to me that it makes more sense to count the data with the >> relevant encodings applied - i.e. the number of bytes being pushed over >> the wire (or over the air)... > > Which one does the http protocol give you when you have a Content- > Length header? It gives the encoded length, since Content-Length is how many bytes you need to read from the connection. -Boris
Received on Monday, 29 January 2007 15:12:19 UTC