You are viewing a plain text version of this content. The canonical link for it is here.
Posted to docs@httpd.apache.org by André Malo <nd...@perlig.de> on 2004/01/12 21:12:27 UTC

Content-length negotiation

* Michael.Schroepl@telekurs.de wrote:

> A short note about the English version:
> 
> > Content-Length:
> > The length of the file, in bytes. If this header is not present,
> > then the actual length of the file is used.
> 
> I am not sure which "actual length of the file" is meant here.
> Consider compression being applied dynamically, and two alter-
> native files would compress differently.
> 
> So file A might be smaller than file B before compression, but
> after compression this relation might reverse, meaning that
> Apache would actually negotiate the "wrong" version of the file
> - can this actually happen?

Yes. mod_negotiation doesn't know anything about filters afterwards and the
standard requires this behaviour (iirc).

nd

---------------------------------------------------------------------
To unsubscribe, e-mail: docs-unsubscribe@httpd.apache.org
For additional commands, e-mail: docs-help@httpd.apache.org