Re: metadata question.

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Sun, 28 Jan 2001 11:33:51 +0100

Robert Collins wrote:
>
> I'm hoping I can get a pointer in the right direction here....
>
> In the TE code we are required to remove the content-length header when sending TE encoded data. Likewise when we receive TE encoded
> data we do not recieve a content-length header. I calculate the content length based on the data received (at this point assuming
> that if it's cacheable it's a full response).
>
> What do I need to do to store (just in swap.state for now) the content length that we receive so that future hits are able to use it
> on client_side.

The client_side headers are all built in
client_side.c:clientBuildReplyHeader

It is not strictly required to store the length. It is OK to send the
HTTP/1.0 client reply without content-length, but the connection cannot
be kept persistent then.

/Henrik
Received on Sun Jan 28 2001 - 03:37:47 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:13:26 MST