|Summary:||misleading error message for unknown HTTP method|
|Product:||Tomcat 6||Reporter:||Julian Reschke <julian.reschke>|
|Component:||Catalina||Assignee:||Tomcat Developers Mailing List <dev>|
Description Julian Reschke 2010-12-29 08:56:38 UTC
For unknown HTTP methods, Tomcat says: "...is not defined in RFC 2068 and is not supported by the servlet API" This is misleading. 1) RFC 2068 has been obsoleted by RFC 2616 over 10 years ago. It doesn't matter what it says. 2) As a matter of fact, what RFC 2616 says doesn't matter either. Methods are an extension point, and extension methods work just fine *when implemented*. So the message (in javax/servlet/http/LocalStrings.properties) should be something like: "...is not implemented by this servlet for this URI".
Comment 1 Mark Thomas 2011-01-04 18:00:59 UTC
Fair point. Fixed in 7.0.x and will be included in 7.0.6 onwards. Proposed for 6.0.x