X-HTTP-Method-Override header is not respected in Fuse/CXF application

Solution Verified - Updated -

Issue

The X-HTTP-Method-Override HTTP header instructs an HTTP server to treat the request as being of a different class than the one initially specified by the client. For example, using this header a client can issue a PATCH or DELETE request on an HTTP server, when the surrounding infrastructure blocks everything except GET and POST. Of course, the use of this header is only applicable when the server is willing to accept the required request type; but REST services often make use of a larger set of request types than most web servers.

It seems that, until Fuse 7.8, CXF applications would accept X-HTTP-Method-Override. Afterwards they do not.

Environment

  • Red Hat Fuse
    • 7.8 and later

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content