The getcontentlength property

Hi,

RFC 2518 says that this property must be returned if the
Content-Length header is returned in a GET response for
the resource at hand. I assume that it is allowed to return
this property if the Content-Length header is never returned,
for example, because the chunked transfer encoding is used.

Can a client rely on a previously retrieved getcontentlength
to read only part of the chunked response stream of the
following GET response?

The particular case I have is where I detect the client is on
a windows machine and is retrieving a text/plain resource. In
that case carriage returns may be added on the fly. This
increases the physical length of the resource.

Regards,

Werner.
-- 
Werner Donné  --  Re
Engelbeekstraat 8
B-3300 Tienen
tel: (+32) 486 425803	e-mail: werner.donne@re.be

Received on Friday, 22 June 2007 12:51:58 UTC