James created OLINGO-1291:
-----------------------------

             Summary: Accept header 'application/atom+xml' not supported
                 Key: OLINGO-1291
                 URL: https://issues.apache.org/jira/browse/OLINGO-1291
             Project: Olingo
          Issue Type: Bug
          Components: odata2-core
    Affects Versions: V2 2.0.10
            Reporter: James


Hello,

We have built an OData feed using Olingo v2.0.10. When clients submit requests 
for the feed using the Accept header 'application/xml' then it all works as 
expected. However, when the Accept head is set to 'application/atom+xml', we 
get:

org.apache.olingo.odata2.api.exception.ODataNotAcceptableException:The accept 
header '[application/atom+xml]' is not supported for this resource.

The exception appears to be thrown by the Olingo code, not our service. Please 
could someone advise on this?

Thanks,

James



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to