You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Paul Richardson (JIRA)" <ji...@apache.org> on 2019/05/29 17:04:00 UTC

[jira] [Created] (CAMEL-13598) Support ETag / If-Match Headers when using CUD operations

Paul Richardson created CAMEL-13598:
---------------------------------------

             Summary: Support ETag / If-Match Headers when using CUD operations
                 Key: CAMEL-13598
                 URL: https://issues.apache.org/jira/browse/CAMEL-13598
             Project: Camel
          Issue Type: New Feature
          Components: camel-olingo4
    Affects Versions: 2.22.4, 2.21.5
            Reporter: Paul Richardson


The [Tripin Reference server|https://services.odata.org/TripPinRESTierService/(S(4gus0w41xmxedlzbywj2srqo))/$metadata] supports ETags on its Airlines resource. Consequently, if an update or delete operation is performed then the following must occur:
 # Client calls a GET request & fetches the content of the ETag header;
 # Client calls a PATCH/DELETE request complete with an *_If-None-Match_* header that has a value of the previously queried ETag.

At the moment, attempts to use the camel-olingo4 implementation fail with an http  [428|https://httpstatuses.com/428] code.



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