Hey Chris,

there is no code in Undertow or Wildfly (as you cross posted also there) that would throw error you are describing.

Are you sure error is coming from Undertow / WildFly code and not from some other source?
I would look for any filters that might be added to your application that could influence that.

Undertow itself supports PATCH command without any issues.
It would also come a surprise to me that no one would notice till now given that PATCH is one of quintessential methods in modern REST applications.


cheers,
tomaž


On Thu, Dec 12, 2019 at 3:44 PM Chris Baumgartner <chris.baumgartner@fujifilm.com> wrote:
Hello,

My company is using Wildfly 10.0.0. Sorry, but I'm not sure what version of undertow is in it.

I have a client application that is trying to perform an HTTP PATCH request. The error that is being returned to the client is "Method PATCH is not defined in RFC 2068 and is not supported by the Servlet API". This isn't true, because it is in RFC 2068. 

I can see that HTTP POST methods are reaching my servlet, but PATCH methods are not.

If I run the servlet in another Web server (Jetty), it works just fine.

I've been searching through both Wildfly and Undertow code, and I can't figure out where this error is coming from.

Does undertow support HTTP PATCH requests? I'm assuming it does, and there is some configuration setting that I need, but I'm not sure which one.

Any help is greatly appreciated.

Thanks.

--
Chris Baumgartner
Java Software Developer
FUJIFILM Medical Systems U.S.A., Inc.
TeraMedica Division
10400 Innovation Drive, Suite 200
Milwaukee, WI 53226
Office: (414) 908-7724
www.teramedica.com

Helping provide healthcare experiences that enhance the quality of life.

NOTICE:  This message, including any attachments, is only for the use of the intended recipient(s) and may contain confidential, sensitive and/or privileged information, or information otherwise prohibited from dissemination or disclosure by law or regulation, including applicable export regulations.  If the reader of this message is not the intended recipient, you are hereby notified that any use, disclosure, copying, dissemination or distribution of this message or any of its attachments is strictly prohibited.  If you received this message in error, please contact the sender immediately by reply email and destroy this message, including all attachments, and any copies thereof._______________________________________________
undertow-dev mailing list
undertow-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/undertow-dev