Skip to content

Commit f966e15

Browse files
authored
[Unencoded-Digest] Allow parameterized values. (#3132)
The spec is currently silent on the subject of parameters, and it seems reasonable to consistently make room for future extension by explicitly defining them as allowed but ignored. This has little practical impact, but hopefully ensures that implementers would treat `sha-256=:...:;options=plz` and `sha-256=:...:` as equivalent declarations.
1 parent 44f43f9 commit f966e15

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

draft-ietf-httpbis-unencoded-digest.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,10 @@ where each:
139139
conveys an encoded version of the byte output produced by the digest
140140
calculation.
141141

142+
Each Dictionary value can have zero or more Parameters ({{Section 3.1.2 of
143+
STRUCTURED-FIELDS}}). This specification does not define any Parameters but
144+
extensions MAY define them. Unknown Parameters MUST be ignored.
145+
142146
For example:
143147

144148
~~~ http-message
@@ -202,6 +206,10 @@ constraints that operate in addition to this specification.
202206
inclusive. 1 is the least preferred, 10 is the most preferred, and a value of
203207
0 means "not acceptable".
204208

209+
Each Dictionary value can have zero or more Parameters ({{Section 3.1.2 of
210+
STRUCTURED-FIELDS}}). This specification does not define any Parameters but
211+
extensions MAY define them. Unknown Parameters MUST be ignored.
212+
205213
Examples:
206214

207215
~~~ http-message

0 commit comments

Comments
 (0)