Asanka
Asanka

Reputation: 83

Does tomcat support http PATCH method?

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?

Upvotes: 3

Views: 7699

Answers (1)

Kira Kurai
Kira Kurai

Reputation: 26

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.

Upvotes: 1

Related Questions