[
https://issues.apache.org/jira/browse/OLINGO-1380?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ramya closed OLINGO-1380.
-------------------------
> OData V4: Response header information is lost in case of exceptions
> -------------------------------------------------------------------
>
> Key: OLINGO-1380
> URL: https://issues.apache.org/jira/browse/OLINGO-1380
> Project: Olingo
> Issue Type: Bug
> Reporter: Ramya
> Priority: Major
>
> Whenever an exception occurs in client scenarios we throw
> ODataClientErrorException with statusLine and ODataError. However, the
> response header information is lost.
> So have new API's in ODataClientErrorException to set and get header
> information.
> Also, currently if the response is in a Json format only then we can
> deserialize the entity and form ODataError.
> If the server returns the response as a plain text, then also make provision
> to include this information in ODataError object.
--
This message was sent by Atlassian Jira
(v8.3.2#803003)