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 2003/06/06 19:53:58 UTC
DO NOT REPLY [Bug 20560] New: -
server-parsed .html files setting Transfer-Encoding to chunked, but body has no chunk-size
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=20560>.
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=20560
server-parsed .html files setting Transfer-Encoding to chunked, but body has no chunk-size
Summary: server-parsed .html files setting Transfer-Encoding to
chunked, but body has no chunk-size
Product: Apache httpd-1.3
Version: 1.3.27
Platform: Sun
OS/Version: Solaris
Status: NEW
Severity: Normal
Priority: Other
Component: core
AssignedTo: bugs@httpd.apache.org
ReportedBy: jamshid@io.com
As far as I can tell from
http://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.6
if a webserver responds with "Transfer-Encoding: chunked" it must send the
number of bytes in the chunk as the first bytes in the body (as hex digits).
But, when httpd.conf does SSI parsing of .html files:
AddHandler server-parsed .html
The transfer-encoding is chunked but there is no size. Is that a valid HTTP
response?
=======================================
c:\>curl -i https://acid:26043/bar.html -k
HTTP/1.1 200 OK
Date: Fri, 06 Jun 2003 17:39:58 GMT
Server: Apache/1.3.27 (Unix) mod_ssl/2.8.12 OpenSSL/0.9.6g
Transfer-Encoding: chunked
Content-Type: text/html
This is bar.html.
=======================================
Also odd is that .shtml files do not get a transfer-encoding, and instead get a
content-length (I would expect the same behavior as server-parsed .html files):
=======================================
c:\>curl -i https://acid:26043/bar.shtml -k
HTTP/1.1 200 OK
Date: Fri, 06 Jun 2003 17:40:02 GMT
Server: Apache/1.3.27 (Unix) mod_ssl/2.8.12 OpenSSL/0.9.6g
Last-Modified: Fri, 06 Jun 2003 17:39:55 GMT
ETag: "100055-13-3ee0d1eb"
Accept-Ranges: bytes
Content-Length: 19
Content-Type: text/plain
X-Pad: avoid browser bug
This is bar.shtml.
=======================================
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org