Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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?

like image 858
Asanka Avatar asked Aug 11 '26 16:08

Asanka


1 Answers

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.

like image 193
Kira Kurai Avatar answered Aug 14 '26 12:08

Kira Kurai



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!