[
https://issues.jboss.org/browse/TEIID-5543?page=com.atlassian.jira.plugin...
]
Ramesh Reddy resolved TEIID-5543.
---------------------------------
Resolution: Cannot Reproduce
From my testing, when the Accept header is */* the code automatically
already choosing to return the JSON as the preferred content type to return. If you want
to write a sample code like in `IntegrationTestOData4` to prove this is not happening, we
can re-open
Configuration Option for default OData format
----------------------------------------------
Key: TEIID-5543
URL:
https://issues.jboss.org/browse/TEIID-5543
Project: Teiid
Issue Type: Enhancement
Components: OData
Affects Versions: 11.2
Reporter: Christoph John
Assignee: Ramesh Reddy
Priority: Optional
Fix For: 12.x
It would be great to have a config option to set the default format for odata responses
which is chosen if no Accept header was set to request the format.
SapUI5 / OpenUI5 for example sends Accept * / *
Would be great if the admin could decide on the default format in such cases.
See related discussion
https://developer.jboss.org/thread/279113
--
This message was sent by Atlassian Jira
(v7.12.1#712002)