You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2001/11/27 15:23:35 UTC
DO NOT REPLY [Bug 5126] New: -
Client request using HEAD results in a response body returned to client.
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=5126>.
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=5126
Client request using HEAD results in a response body returned to client.
Summary: Client request using HEAD results in a response body
returned to client.
Product: Tomcat 4
Version: 4.0.1 Final
Platform: All
OS/Version: All
Status: NEW
Severity: Normal
Priority: Other
Component: HTTP/1.1 Connector
AssignedTo: tomcat-dev@jakarta.apache.org
ReportedBy: Ryan.Lubke@Sun.COM
According to the HTTP 1.0 and 1.1 RFC's if a client uses the HEAD method for the
request, a response-body *must* not be returned, only the headers that would
have been returned for a normal GET request for that resource.
telnet myhost 8000
Trying 100.100.100.118...
Connected to myhost.
Escape character is '^]'.
HEAD /foo HTTP/1.0
HTTP/1.1 404 /foo
Content-Type: text/html
Date: Tue, 27 Nov 2001 14:17:04 GMT
Server: Apache Tomcat/4.0.1 (HTTP/1.1 Connector)
Connection: close
<html><head><title>Apache Tomcat/4.0.1 - Error
report</title><STYLE><!--H1{font-family : sans-serif,Arial,Tahoma;color :
white;background-color : #0086b2;} BODY{font-family :
sans-serif,Arial,Tahoma;color : black;background-color : white;} B{color :
white;background-color : #0086b2;} HR{color : #0086b2;} --></STYLE>
</head><body><h1>Apache Tomcat/4.0.1 - HTTP Status 404 - /foo</h1><HR size="1"
noshade><p><b>type</b> Status report</p><p><b>message</b>
<u>/foo</u></p><p><b>description</b> <u>The requested resource (/foo) is not
available.</u></p><HR size="1" noshade></body></html>Connection closed by
foreign host.
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>