You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2002/04/30 20:40:10 UTC
DO NOT REPLY [Bug 8673] New: -
mod_proxy dropping content length header
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=8673>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=8673
mod_proxy dropping content length header
Summary: mod_proxy dropping content length header
Product: Apache httpd-2.0
Version: 2.0.35
Platform: All
OS/Version: All
Status: NEW
Severity: Major
Priority: Other
Component: mod_proxy
AssignedTo: bugs@httpd.apache.org
ReportedBy: phillip.rhodes@alcoa.com
We are using mod_proxy to proxy pdf documents on an internal web server.
The mod_proxy with 2.x is not returning the content-length of the pdf.
Using a 1.3 version of mod_proxy, to the same webserver, will return a content-
length header.
Below is the headers for a 1.3 and a 2.0 apache version. Notice that the 2.x
apache does not return a content length header, while the 1.3 does.
Request to a 2.0.35 apache
GET /msds2/documents/190252.pdf HTTP/1.1
Accept: text/html, text/css, text/xml, text/plain, application/csv,
application/pdf, application/msword, application/vnd.ms-excel, application/x-
vbscript, application/x-www-form-urlencoded, application/x-javascript
Accept-Language: en_us
Host: acadv04.ami.alcoa.com:16888
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0)
Connection: Close
Response:
HTTP/1.1 200 OK
Date: Tue, 30 Apr 2002 16:24:38 GMT
Server: Microsoft-IIS/5.0
Content-Type: application/pdf
Accept-Ranges: bytes
Last-Modified: Tue, 31 Oct 2000 04:00:00 GMT
ETag: "0e012aef42c01:7e8"
Connection: close
Transfer-Encoding: chunked
81f5
%PDF-1.3
...etc...
Request to a 1.3 apache
GET /msds2/documents/190252.pdf HTTP/1.1
Accept: text/html, text/css, text/xml, text/plain, application/csv,
application/pdf, application/msword, application/vnd.ms-excel, application/x-
vbscript, application/x-www-form-urlencoded, application/x-javascript
Accept-Language: en_us
Host: acadv04.ami.alcoa.com:7380
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0)
Connection: Close
Response:
HTTP/1.0 200 OK
Server: Microsoft-IIS/5.0
Date: Tue, 30 Apr 2002 16:08:14 GMT
Content-Type: application/pdf
Accept-Ranges: bytes
Last-Modified: Tue, 31 Oct 2000 04:00:00 GMT
ETag: "0e012aef42c01:7e8"
Content-Length: 84348
%PDF-1.3
...etc...
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org