tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 39508] - Tomcat should reply with status 400 if HTTP/1.0 and no content-length
Date Sun, 07 May 2006 22:20:40 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=39508>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=39508


william.barker@wilshire.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |WONTFIX




------- Additional Comments From william.barker@wilshire.com  2006-05-07 22:20 -------
RFC 1945 (which is where I assume the quote is coming from) is informational 
only.  AFAIK, there isn't any official HTTP/1.0 standard, and RFC 2616 (the 
HTTP/1.1 spec) is the closest you're going to get.  Tomcat's behavior is 
correct wrt RFC 2616.

The only way that Tomcat could possibly determine that a Request body was sent 
is to peek at the input.  This would slow down request processing to an 
unacceptable level.  And, since Tomcat's behavior here is identical to Httpd's 
(so, in particular, the AJP/1.3 Connector would alway do this :), this seems 
to be a reasonable way to deal with broken HTTP/1.0 clients.  The Servlet is 
always free to send back a 400 Response code if it doesn't get what it is 
looking for.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message