3

A PATCH request to tomcat returns "HTTP Status 501 - Method PATCH is not is not implemented by this servlet for this URI" error. Is it possible to allow the PATCH method in tomcat?

Asanka
  • 83
  • 1
  • 7

1 Answers1

1

Similar question was answered here: How do I stop Apache httpd from rejecting HTTP PATCH requests?

Tested on Tomcat 7 - the request does go through, unless you have Apache in front connected via AJP13.

AJP 13 does not yet support PATCH, all supported methods are here:http://tomcat.apache.org/connectors-doc/ajp/ajpv13a.html under "method" section.

Community
  • 1
  • 1
Kira Kurai
  • 26
  • 1
  • The AJP protocol supports PATCH. This is documented in [this bug report here](https://issues.apache.org/bugzilla/show_bug.cgi?id=56884). However, mod_proxy may not support PATCH over AJP. – Larry Chu Dec 30 '14 at 22:28