dheid opened a new pull request, #97:
URL: https://github.com/apache/olingo-odata4/pull/97

   Hi @mibo !
   
   I have an urgend issue with error responses from our SAP instance. The 
instance sometimes delivers XML answers, but the request was made using 
"application/json" as an accept header. I found an issue belonging to his: 
https://issues.apache.org/jira/projects/OLINGO/issues/OLINGO-1577
   
   So I created this fix. It tries to determine the content type from the HTTP 
response and falls back to the accept header.
   
   Sorry for reordering the imports. My IDE does this automatically on 
cleanup...
   
   Best regards
   
   Daniel
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@olingo.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to