The getcontentlength property

Werner Donné <[email protected]>
Newsgroups gmane.ietf.webdav
Organization Re
Message-ID <[email protected]>
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: [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.