According to https://java.net/jira/browse/GLASSFISH-21238 the fix in present in Glassfish 4.1.1. It is applied by setting http listener property:
asadmin set server-config.network-config.protocols.protocol.http-listener-1.http.allow-payload-for-undefined-http-methods=true
I have set this property but I still get HTTP 400 when I invoke my delete with a request body method.
My Questions:
- Is there another setting(s) required to get this to work?
- Is this fix really in Glassfish 4.1.1?