Skip to content

Commit 3a839d4

Browse files
committed
incorporate suggestions
1 parent 6ddafd2 commit 3a839d4

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

draft-ietf-httpbis-unencoded-digest.md

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -238,11 +238,13 @@ Since the digest is calculated on unencoded representation bytes, validation of
238238
a message with content codings (as described above) can only succeed where the
239239
decoded output produces the same byte sequence as the input. While {{Section
240240
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`.
241+
information", that doesn't necessarily mean a byte-for-byte equivalence. It's
242+
entirely possible for content codings to perform semantically-meaningless
243+
transformations that nevertheless result in a decoded byte sequence that does
244+
not exactly match the original unencoded representation. In order to avoid
245+
unintended validation failures, care is advised when selecting content codings
246+
for use with `Unencoded-Digest`; many registered content codings do provide
247+
byte-for-byte equivalence and are appropriate.
246248

247249

248250
# Integrity Fields are Complementary

0 commit comments

Comments
 (0)