W3C home > Mailing lists > Public > www-lib@w3.org > April to June 1996

Re: [Q] Content length in MIME headers always right?

From: Kevin Kenny <kennykb@cobweb.crd.ge.com>
Date: Wed, 26 Jun 96 21:39:48 -0500
Message-Id: <9606262139.AA28401@cobweb.crd.ge.com>
To: Henrik Frystyk Nielsen <frystyk@w3.org>
Cc: sacha@clip.dia.fi.upm.es (Sacha), www-lib@w3.org
Sacha writes:

> I have a question regarding content length. Sometimes when
> I just fetch the header of a document I get a content length
> of -1 (i.e. unset), but if I get the entire document I get
> the correct content length. Can it be that the server creates
> different headers depending on whether you also ask for the
> document? Does this mean that the only way to get the content
> length with absolute certainty is to request the whole document?

There's a bug in NCSA HTTPd 1.5 and 1.5.1 where CGI script output
always shows a content length of -1.  Could this be your problem?

73 de ke9tv/2, Kevin KENNY   GE Corporate Research & Development
kennykb@crd.ge.com           P. O. Box 8, Room KWC273
                             Schenectady, New York 12301-0008 USA
Received on Wednesday, 26 June 1996 17:40:55 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:33:47 UTC