Skip to content

Commit

Permalink
Revise Sending a Validation Request
Browse files Browse the repository at this point in the history
Fixes #110.
  • Loading branch information
mnot committed Oct 15, 2018
1 parent cd801ea commit 7c3ecea
Showing 1 changed file with 15 additions and 4 deletions.
19 changes: 15 additions & 4 deletions draft-ietf-httpbis-cache-latest.xml
Expand Up @@ -875,10 +875,21 @@

<section title="Sending a Validation Request" anchor="validation.sent"><iref item="validator" />
<t>
When sending a conditional request for cache validation, a cache sends one
or more precondition header fields containing <x:dfn>validator</x:dfn>
metadata from its stored response(s), which is then compared by recipients
to determine whether a stored response is equivalent to a current
When generating a conditional request for validation, a cache starts with
either a request it is attempting to satisfy, or -- if it is initiating
the request independently -- it synthesises a request using a stored
response by copying the method, request-target, and request header fields
used for identifying the secondary cache key <xref
target="caching.negotiated.responses"/>.
</t>
<t>
It then updates that request with one or more precondition header fields.
These contain validator metadata sourced from stored response(s) that have
the same cache key (both primary and secondary, as applicable).
</t>
<t>
The precondition header fields are then compared by recipients to
determine whether any stored response is equivalent to a current
representation of the resource.
</t>
<t>
Expand Down

0 comments on commit 7c3ecea

Please sign in to comment.