See RFC2616. It has a very well worded section on HTTP message
delimiting.
Content-length has nothing to do with HTML. Is is a HTTP header and
has relevance to HTTP message delimiting. HTML is what is carried
within a HTTP message of content-type text/html.
Regards
Henrik
On Tuesday 21 May 2002 14:36, maer727@sohu.com wrote:
> Hi, pals!
>
> I try to see the content of the cached object. I noticed in a case
> that the HTML page does not has the Content-Length item. I want to
> know if the content length of a web page is unknown, how does squid
> know that the page is transfered completed? I noticed that some
> well known web site does not use Content-Length item in the header,
> for example "www.yahoo.com". IMHO, the Content-Length of a HTML
> page is not important. Am I correct?
>
> Best regards,
> George Ma
Received on Tue May 21 2002 - 15:13:47 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:15:29 MST