Hi Greg,
in the end I verified that it was AtmosphereServlet, the websocket
framework, that was not handling the PATCH method. I was able to solve
it as you suggested by extending AtmosphereServlet and by setting my new
class as the main servlet of my webapp.
Thanks a lot!
Roberto
Il 03/12/2015 16:50, Greg Wilkins ha scritto:
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]
<mailto:[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] <mailto:[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] <mailto:[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