File tree Expand file tree Collapse file tree 1 file changed +7
-5
lines changed
Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -236,11 +236,13 @@ needs to decode all encodings in order before validation.
236236
237237Since the digest is calculated on unencoded representation bytes, validation of
238238a message with content codings (as described above) can only succeed where the
239- decoded output produces the same byte sequence as the input. While many
240- registered content codings behave this way, there is no requirement for them to
241- do so and it remains a possibility that decoding could produce a
242- different byte sequence. In order to avoid unintended validation failures, care
243- is advised when selecting content codings for use with `Unencoded-Digest`.
239+ decoded output produces the same byte sequence as the input. While {{Section
240+ 8.4.1 of !HTTP=RFC9110}} describes content codings to operate "without loss of
241+ information", that doesn't necessarily mean a byte-for-byte equivalence. Many
242+ registered content codings do provide equivalence but there is no requirement
243+ for it; it remains a possibility that decoding could produce a different byte
244+ sequence. In order to avoid unintended validation failures, care is advised when
245+ selecting content codings for use with `Unencoded-Digest`.
244246
245247
246248# Integrity Fields are Complementary
You can’t perform that action at this time.
0 commit comments