Christopher Schultz wrote: > On 3/28/2010 6:28 PM, Michael Wojcik wrote: >> André Warnier wrote: >>> For all these reasons, currently Tomcat does not support the >>> getParameters() family of methods, when the request method is PUT. >> This is a Tomcat limitation, not an HTTP one. > > Again, Tomcat does not limit the developer in any way: Tomcat provides > access to the "GET parameters" using the getParameter family of methods. > It's just that Tomcat will not auto-parse any > application/x-www-form-urlencoded request body and integrate the > parameters into those coming from the URL.
Right. What I meant was that Tomcat's current getParameters method was limited to extracting parameters from the query-string portion of the Request-URI, and from an application/x-www-form-urlencoded content-body for a POST request. In that sense it's a Tomcat "limitation": the convenience method getParameters *could* parse an x-www-form-urlencoded content-body supplied with a PUT request, but doesn't. But you're certainly correct that Tomcat doesn't prevent the application from doing so. And given the meaning and presumed intent of the PUT request, that's not really surprising. PUT doesn't imply server-side application processing of the content-body the way POST does. -- Michael Wojcik Micro Focus Rhetoric & Writing, Michigan State University --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org