Closed ioggstream closed 5 years ago
The MI header field uses the extended ABNF syntax defined in Section 1.2 of
[RFC7230] and the `parameter` rule from [RFC7231]:
we could say that the Digest header takes parameter, instead of the digest-algorithm: this would be similar to Want-Digest
Digest: new-algo=f1b2c3;rs=5, sha-256=fbfbfba
If I understand correctly, this seems like two indpendent issues:
1) Ensure that the syntax definition aligns with modern best practice. Whether that be RFC723x, HTTP core, or Structured headers.
2) Consider adding parameters to the Digest header. Do we have any examples in the wild that do this, or use cases that want to do this?
I try to clarify. RFC3230 stated that:
For some algorithms, one or more parameters may be
supplied.
digest-algorithm = token
The BNF for "parameter" is as is used in RFC 2616 [4]. All digest-
algorithm values are case-insensitive.
but:
In this draft we preserved retained that sentence but:
So, about your questions:
I expect
BNF
to be updated to the current standard (ABNF?)https://github.com/ioggstream/draft-polli-resource-digests-http/blame/master/draft-polli-resource-digests-http.md#L302