Yoshani Ranaweera created CXF-8972: -------------------------------------- Summary: Server exception raised when no Content-Type param provided Key: CXF-8972 URL: https://issues.apache.org/jira/browse/CXF-8972 Project: CXF Issue Type: Bug Components: JAX-RS Reporter: Yoshani Ranaweera
If a request is sent without the Content-Type header parameter, a server exception _javax.ws.rs.WebApplicationException: HTTP 415 Unsupported Media Type_ is raised and the below server error log is printed. _No message body reader has been found for class java.lang.String, ContentType: application/octet-stream_ Since this is a client error, it should not be handled as a server exception. -- This message was sent by Atlassian Jira (v8.20.10#820010)