title: Disable HTTP methods in Tomcat
body: <p>I have read these questions on disabling a list of methods in Tomcat:</p>
  
  <ul>
  <li><a href="https://stackoverflow.com/questions/323241/how-can-i-disable-http-methods-for-tomcat-5-5-27">How can I disable HTTP Methods for Tomcat 5.5.27</a></li>
  <li><a href="https://stackoverflow.com/questions/320959/disabling-put-trace-delete-request-in-apache-tomcat-6-0">Disabling PUT TRACE DELETE request in Apache Tomcat 6.0</a></li>
  </ul>
  
  <p>But is there a way to return a 405 response instead of a 403 response?</p>