[
https://issues.apache.org/jira/browse/CAMEL-13598?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Andrea Cosentino reassigned CAMEL-13598:
----------------------------------------
Assignee: Andrea Cosentino
> camel-olingo4 - 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.21.5, 2.22.4
> Reporter: Paul Richardson
> Assignee: Andrea Cosentino
> Priority: Major
> Fix For: 3.0.0.RC1
>
> Time Spent: 10m
> Remaining Estimate: 0h
>
> 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.
> Please see following for more information:
> * [https://www.odata.org/getting-started/basic-tutorial/#etag]
> * [https://www.odata.org/documentation/odata-version-2-0/operations/]
> *
> [https://olingo.apache.org/doc/odata4/overview.html#definition-of-the-web-infrastructure]
> * [https://www.logicbig.com/quick-info/web/etag-header.html]
--
This message was sent by Atlassian Jira
(v8.3.2#803003)