Skip to content

Commit d0d1e99

Browse files
committed
incorporate suggestions
1 parent b4d7f16 commit d0d1e99

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
@@ -234,11 +234,13 @@ Since the digest is calculated on unencoded representation bytes, validation of
234234
a message with content codings (as described above) can only succeed where the
235235
decoded output produces the same byte sequence as the input. While {{Section
236236
8.4.1 of !HTTP=RFC9110}} describes content codings to operate "without loss of
237-
information", that doesn't necessarily mean a byte-for-byte equivalence. Many
238-
registered content codings do provide equivalence but there is no requirement
239-
for it; it remains a possibility that decoding could produce a different byte
240-
sequence. In order to avoid unintended validation failures, care is advised when
241-
selecting content coding for use with `Unencoded-Digest`.
237+
information", that doesn't necessarily mean a byte-for-byte equivalence. It's
238+
entirely possible for content codings to perform semantically-meaningless
239+
transformations that nevertheless result in a decoded byte sequence that does
240+
not exactly match the original unencoded representation. In order to avoid
241+
unintended validation failures, care is advised when selecting content codings
242+
for use with `Unencoded-Digest`; many registered content codings do provide
243+
byte-for-byte equivalence and are appropriate.
242244

243245

244246
# Integrity Fields are Complementary

0 commit comments

Comments
 (0)