[teiid-issues] [JBoss JIRA] (TEIID-4001) Make error handling check for content type in OData4

Steven Hawkins (JIRA) issues at jboss.org
Thu Feb 25 14:41:00 EST 2016


    [ https://issues.jboss.org/browse/TEIID-4001?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13168581#comment-13168581 ] 

Steven Hawkins commented on TEIID-4001:
---------------------------------------

I was seeing that we are assuming JSON even for the metadata fetch, which since it doesn't specify the format or the accepts header can return a non json response.  And in general if there is a higher level server error, then you are likely to get an xhtml page which the atom logic can handle, so it seems good to have the handling there.

> Make error handling check for content type in OData4
> ----------------------------------------------------
>
>                 Key: TEIID-4001
>                 URL: https://issues.jboss.org/browse/TEIID-4001
>             Project: Teiid
>          Issue Type: Quality Risk
>          Components: Misc. Connectors
>            Reporter: Steven Hawkins
>            Assignee: Steven Hawkins
>             Fix For: 9.0
>
>
> Unless json is specifically requested errors are typically returned in atom.



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the teiid-issues mailing list