-
Notifications
You must be signed in to change notification settings - Fork 23
Closed
Milestone
Description
Today, there are two sightly different mechanics for validation of resource freshness. Those are:
in https://aep.dev/update, using an etag field in the resource body (proto), and rejecting the request if that does match.
In https://aep.dev/154/#guidance, using an etag header in the response, and an optional if-match header in the request for resource validation.
These are fundamentally incompatible methods, and we should provide a single way to do so. As an initial proposal, I propose aligning with AIP-154 and:
- making
etaga field that is returned back via grpc metadata, allowing it's usage in the HTTP header. - adding guidance in AIP-154 to use grpc metadata to include the if-match header.
gibson042
Metadata
Metadata
Assignees
Labels
No labels
Type
Projects
Status
Done