[Technical Errata Reported] RFC9111 (9185)

The following errata report has been submitted for RFC9111,
"HTTP Caching"

--------------------------------------
You may review the report below and at:
https://errata.rfc-editor.org/eid9185/

--------------------------------------
Type: Technical
Reported by: Daniel Fox Franke <dfoxfranke@gmail.com>

Section 4.3.4 says:

Original Text
-------------
The initial set of stored responses to update are those that could
have been chosen for that request -- i.e., those that meet the
requirements in Section 4, except the last requirement to be fresh,
able to be served stale, or just validated.

Corrected Text
--------------
Replace the original paragraph with,

  The initial set consists of stored responses that satisfy all of
  the following conditions with respect to the request that
  elicited the 304 response:

  * The target URI matches that of the request.

  * The method associated with the stored response permits its use
    for the request.

  * Either the selecting request header fields match as specified
    in Section 4.1, or the stored response and the 304 response
    contain ETag field values that match using the strong
    comparison function defined in Section 8.8.3.2 of [HTTP].

At the end of Section 4.3.4, append

When a response is identified for update through a strong
entity-tag match despite a selecting-header mismatch, the cache
MUST, for the purposes of Section 4.1, associate the updated
response with the header fields of the request that elicited the
304 response. Subsequent matching uses those request header fields
and the updated response's Vary field. The cache MAY retain a
separate, unmodified entry associated with the original request.

Notes
-----
The choice to recast the affected paragraph as a list of criteria rather than a
list of exceptions to the Section 4 requirements is editorial. The key technical
change is to allow the initial set to include stored responses whose requests
have nonmatching selecting request header fields if the stored response is a
strong ETag match to the 304 response.

Suppose we have a stored request,

  GET /
  Accept-Language: en, fr

with response

  200 OK
  Vary: Accept-Language
  Content-Language: en
  ETag: "xyz"

We later receive a request,

  GET /
  Accept-Language: en, de

Section 4.3.1 permits the cache to forward that request with

  If-None-Match: "xyz"

If the selected representation at the origin still has the strong entity tag
"xyz", the origin can respond:

  304 Not Modified
  Vary: Accept-Language
  Content-Language: en
  ETag: "xyz"
  
The strong ETag establishes that the stored representation is the representation
selected for the validating request. Nevertheless, the current wording of
Section 4.3.4 excludes the stored response before comparing the ETag, solely
because its Accept-Language value does not match under Section 4.1.

RFC 2616 and 7234 allowed this use of validation to resolve content-negotiation
mismatches. The restriction added in RFC 9111 was intended to prevent a
validation response from updating unrelated stored responses, particularly where
validators do not uniquely identify a representation. HTTP Working Group issue #839
records the concern that a Last-Modified value treated as a strong validator could
cause a 304 response to update distinct representations that share a modification
timestamp.

The correct text preserves the existing restriction in the cases that originally
motivated it, while allowing a strong ETag match to perform the representation
identification contemplated by Section 4.3.1.

Instructions:
-------------
This erratum is currently posted as "Reported". Please
use "Reply All" to discuss whether it should be verified or
rejected. When a decision is reached, the verifying party  
will log in to change the status and edit the report, if necessary.

--------------------------------------
RFC9111 (draft-ietf-httpbis-cache)
--------------------------------------
Title               : HTTP Caching
Publication Date    : June 2022
Author(s)           : R. Fielding, Ed., M. Nottingham, Ed., J. Reschke, Ed.
Category            : Internet Standard
Source              : httpbis (wit)
Stream              : IETF
Verifying Party     : IESG

Received on Monday, 28 September 2026 15:11:52 UTC