Coherence REST Call Return Invalid Response if pass charset in the Content type header

(Doc ID 2317806.1)

Last updated on DECEMBER 19, 2017

Applies to:

Oracle Coherence - Version 3.7.1.1 to 12.1.3.0.0 [Release AS10g to 12c]
Information in this document applies to any platform.

Symptoms

Customer is using Coherence 12.1.3.0.5 cluster, access cache data with REST services. User set rest request header "Content-Type: application/xml;charset=utf-8", server return HTTP 406 error, but if set "Content-Type: application/xml", server work fine an return HTTP 200. Customer has build the test case based on the example given in the https://docs.oracle.com/middleware/1213/coherence/develop-remote-clients/rest_example.htm#COHCG5231.

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms