[teiid-issues] [JBoss JIRA] (TEIID-5784) OData4 returns $metadata in JSON when contentType not specified

Ramesh Reddy (Jira) issues at jboss.org
Tue Jun 25 18:11:00 EDT 2019


     [ https://issues.jboss.org/browse/TEIID-5784?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ramesh Reddy updated TEIID-5784:
--------------------------------
    Description: with upgrade to Olingo 4.6, there is update to $metadata call that can return the content in JSON format. However OData4 translator can only parse the XML content. This occurs when "Accept" header is not specified with the request  (was: with upgrade to Olingo 4.6, there is update to $metadata call that can return the content in JSON format. However OData4 translator can only parse the XML content. This occurs when "content-type" header is not specified with the request)


> OData4 returns $metadata in JSON when contentType not specified
> ---------------------------------------------------------------
>
>                 Key: TEIID-5784
>                 URL: https://issues.jboss.org/browse/TEIID-5784
>             Project: Teiid
>          Issue Type: Bug
>          Components: Misc. Connectors, OData
>    Affects Versions: 12.2
>            Reporter: Ramesh Reddy
>            Assignee: Ramesh Reddy
>            Priority: Major
>             Fix For: 12.3
>
>
> with upgrade to Olingo 4.6, there is update to $metadata call that can return the content in JSON format. However OData4 translator can only parse the XML content. This occurs when "Accept" header is not specified with the request



--
This message was sent by Atlassian Jira
(v7.12.1#712002)


More information about the teiid-issues mailing list