https://bz.apache.org/bugzilla/show_bug.cgi?id=61692
--- Comment #9 from Mark Thomas <ma...@apache.org> --- Another idea. Add a new option cgiMethods which is a comma separated list of methods to pass to the CGI script (or * for all methods). Requests using one of those methods are always passed to the script. Default value is "GET,POST" to match current behaviour. The request body is passed to the script for any method if Content-Length or Transfer-Encoding is set. Requests for HEAD, OPTIONS and TRACE are handled by the servlet (which may delegate to the super class) unless the method is listed in cgiMethods. The value of cgiMethods will be used to help populate the OPTIONS response. Requests using any other method gets a 405. I think this gives: - backwards compatible by default - support for arbitrary HTTP methods - the ability to pass any sub-set of HTTP methods to the CGi script -- You are receiving this mail because: You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org