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:09:00 UTC

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

     [ https://issues.apache.org/jira/browse/CAMEL-13598?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Paul Richardson updated CAMEL-13598:
------------------------------------
    Description: 
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]

  was:
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.


> 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
>            Priority: Major
>
> 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
(v7.6.3#76005)