Ramya created OLINGO-1380:
-----------------------------
Summary: 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
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
(v7.6.14#76016)