Roberto,

that is coming from the specification provided class HttpServlet

To avoid that, your servlet needs to override the service method of the
servlet to handle additional methods.

cheers




On 4 December 2015 at 08:33, Roberto Francescangeli <
[email protected]> wrote:

> Hi all,
>
> I just upgraded my web application to use Jetty 9 and when I finally
> finished configuring the server and everything started up properly, I found
> out that whenever a client sends a PATCH request my server simply replies
> with a 501 error saying that "Method PATCH is not defined in RFC 2068 and
> is not supported by the Servlet API".
>
> Is there any way to re-enable PATCH in jetty 9?
> Maybe some module that I should enable? Or maybe I should add support for
> PATCH in some other way?
>
> For your reference, I am using a standalone jetty 9.2 server configured
> with XML files.
>
> Thanks all for the help!
>
> Roberto
> _______________________________________________
> jetty-users mailing list
> [email protected]
> To change your delivery options, retrieve your password, or unsubscribe
> from this list, visit
> https://dev.eclipse.org/mailman/listinfo/jetty-users
>



-- 
Greg Wilkins <[email protected]> CTO http://webtide.com
_______________________________________________
jetty-users mailing list
[email protected]
To change your delivery options, retrieve your password, or unsubscribe from 
this list, visit
https://dev.eclipse.org/mailman/listinfo/jetty-users

Reply via email to