https://bz.apache.org/bugzilla/show_bug.cgi?id=61692
--- Comment #8 from Konstantin Kolinko <knst.koli...@gmail.com> --- (In reply to Mark Thomas from comment #7) > My current thinking is to add a single new option, enableAllHttpMethods. If > this is enabled, every request regardless of method will be passed to the > CGI script and it will be expected to respond appropriately. Alternative idea: - a regexp option that is applied as a filter to method names. If "OPTIONS" method matches the regexp filter then it means that OPTIONS method is processed by underlying CGI script. If "OPTIONS" method does not match the regexp filter, we can implement support for OPTIONS method in Java in the following way: 1. Iterate over a list of known HTTP methods - see IANA registry [1] 2. Retain only those that match the regexp filter. [1] https://www.iana.org/assignments/http-methods/http-methods.xhtml -- 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