My Oracle Support Banner

Coherence REST 请求头中如果设置了Content type的字符集属性时,返回Invalid Response错误 (Doc ID 2340864.1)

Last updated on JANUARY 04, 2018

适用于:

Oracle Coherence - 版本 3.7.1.1 到 12.1.3.0.0 [发行版 AS10g 到 12c]
本文档所含信息适用于所有平台

症状

在Coherence 12.1.3.0.5上,通过REST服务访问缓存数据,在请求的头中设置了 "Content-Type: application/xml;charset=utf-8", 会返回HTTP 406 error, 但是如果设置"Content-Type: application/xml", Server就能正常工作,返回HTTP状态代码是200.  测试用例基于文档 https://docs.oracle.com/middleware/1213/coherence/develop-remote-clients/rest_example.htm#COHCG5231 构建。

原因

To view full details, 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 a vibrant support community of peers and Oracle experts.