You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by gw...@fscinternet.com on 2002/08/14 23:11:21 UTC

mod_proxy still strips Content-Length header

While the stripping of the C-L header on GET has been fixed, mod_proxy 
is still stripping the Content-Length header on HEAD.

Graham Wiseman
gwiseman@fscinternet.com

Example requests to a Apache 2.0.40 reverse proxy pointing at an Apache 
1.3.26:
------------------------------------------------------------------------
-
Escape character is '^]'.
GET / HTTP/1.0

HTTP/1.1 200 OK
Date: Wed, 14 Aug 2002 21:02:28 GMT
Server: Apache/1.3.26 (Unix) PHP/4.2.2
Last-Modified: Thu, 06 Dec 2001 16:21:06 GMT
ETag: "1870e-1209-3c0f9af2"
Accept-Ranges: bytes
Content-Type: text/html
Content-Length: 4617
Connection: close
X-Pad: avoid browser bug
------------------------------------------------------------------------
-
Escape character is '^]'.
HEAD / HTTP/1.0

HTTP/1.1 200 OK
Date: Wed, 14 Aug 2002 21:03:35 GMT
Server: Apache/1.3.26 (Unix) PHP/4.2.2
Last-Modified: Thu, 06 Dec 2001 16:21:06 GMT
ETag: "1870e-1209-3c0f9af2"
Accept-Ranges: bytes
Content-Type: text/html
Connection: close
------------------------------------------------------------------------
--