With etag: true, tagged() only recognised a handler ETag given as a
string. Given as an array, it compared If-None-Match against the body's
computed tag while sending the handler's array, so a client revalidating
with the tag it was sent got a 200 instead of a 304, and two ETag values
went on the wire.
ETag is single-valued, so the last value of an array wins, as a repeated setHeader would. It is sent alone and drives the comparison.
Found in the pre-freeze integrated review.
With `etag: true`, `tagged()` only recognised a handler ETag given as a
string. Given as an array, it compared If-None-Match against the body's
computed tag while sending the handler's array, so a client revalidating
with the tag it was sent got a 200 instead of a 304, and two ETag values
went on the wire.
ETag is single-valued, so the last value of an array wins, as a repeated
`setHeader` would. It is sent alone and drives the comparison.
Found in the pre-freeze integrated review.
With `etag: true`, `tagged()` only recognised a handler ETag given as a
string. Given as an array, it compared If-None-Match against the body's
computed tag while sending the handler's array, so a client revalidating
with the tag it was sent got a 200 instead of a 304, and two ETag values
went on the wire.
ETag is single-valued, so the last value of an array wins, as a repeated
`setHeader` would. It is sent alone and drives the comparison.
Found in the pre-freeze integrated review.
Signed-off-by: Diego Resendez <diego.resendez@zero-oneit.com>
chrnx
merged commit bb3d759f3a into develop2026-10-24 19:08:28 +00:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
With
etag: true,tagged()only recognised a handler ETag given as astring. Given as an array, it compared If-None-Match against the body's
computed tag while sending the handler's array, so a client revalidating
with the tag it was sent got a 200 instead of a 304, and two ETag values
went on the wire.
ETag is single-valued, so the last value of an array wins, as a repeated
setHeaderwould. It is sent alone and drives the comparison.Found in the pre-freeze integrated review.