Details
Description
When you POST to a resource using an invalid Content-Type of "foo", CXF doesn't return 415.
Instead, CXF throws a 500 because an IllegalArgumentException is thrown instead of a WebApplicationException.
When you POST to a resource using an invalid Content-Type of "foo", CXF doesn't return 415.
Instead, CXF throws a 500 because an IllegalArgumentException is thrown instead of a WebApplicationException.