Welcome to the WSO2 Identity Server source code! For info on working with the WSO2 Identity Server repository and contributing code, click the link below.
Even though CXF supports overriding request methods, by default this is not allowed (since CXF 3.3.4) for a CXF service[1]. To enable HTTP method overriding, we can specify the "org.apache.cxf.jaxrs.allow.http.method.override" endpoint property as "true" in cxf-servelet.xml file for relevant endpoints. We have done a similar thing to enable HTTP method overriding in scim Group endpoint[2].
This issue is being closed due to extended inactivity. Please feel free to reopen it if further attention is needed. Thank you for helping us keep the issue list relevant and focused!
Hi Team,
The X-HTTP-Method-Override header is not recognized in 5.11.0, it returns a 405 Method Not Allowed response for the following request.
Even though CXF supports overriding request methods, by default this is not allowed (since CXF 3.3.4) for a CXF service[1]. To enable HTTP method overriding, we can specify the "org.apache.cxf.jaxrs.allow.http.method.override" endpoint property as "true" in cxf-servelet.xml file for relevant endpoints. We have done a similar thing to enable HTTP method overriding in scim Group endpoint[2].
[1] - https://cxf.apache.org/docs/jax-rs.html [2] - https://github.com/wso2-extensions/identity-inbound-provisioning-scim/pull/111
Thanks