You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Mark Anderson <an...@mitre.org> on 2005/01/03 19:01:53 UTC

Disable PUT and DELETE HTTP methods

Last month, someone asked how to disable the HTTP methods PUT and DELETE. 
(I wasn't on this list at that time, so I can't reply in a threadly manner.)

I wrote a valve to accomplish that.  I won't clutter this list with my 
code, but I will say that I simply wrote a class that extends 
org.apache.catalina.valves.RequestFilterValve.  If you want the code, just 
drop me a line.

- Mark



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