- From: Rory Hewitt <rory.hewitt@gmail.com>
- Date: Tue, 4 Aug 2026 10:00:23 -0700
- To: Lucas Pardue <lucas@lucaspardue.com>
- Cc: HTTP Working Group <ietf-http-wg@w3.org>
- Message-ID: <CAEmMwDwmNCHGa557EWgPYcYsRWvKVpCsixpNJnLxtbBUbOEfUw@mail.gmail.com>
Hey Lucas, Who is the intended audience for these demos? The reason I ask is that the terminology is technically correct (obviously), but the wording isn't necessarily what backend web developers might use. I have some slight wording tweaks I would suggest, but if this is aimed at folks on this list, it's probably unnecessary. Rory On Mon, Aug 3, 2026 at 10:15 PM Lucas Pardue <lucas@lucaspardue.com> wrote: > Hi > > Thanks for feedback > > On Tue, Aug 4, 2026, at 04:49, Martin Thomson wrote: > > Unlike Willy, I don't know if these helped me. > > The demo doesn't really show the difference between Content-Digest and > Repr-Digest very clearly. A range response might be a way to show this, > where the content of the response has one digest and the representation > (from which the range is taken) has another. You wouldn't be able to > validate the Repr-Digest, of course. > > As Willy noted, there is a toggle to send a Range request. I'll see if i > can highlight that better. The validation logic attempts to use the range > as if the client had the received other bytes. > > I also had a toggle for the request method at one point but seems it got > nuked somewhere. I should add it back. Sending a HEAD would demonstrate > Repr- with no Content- > > > For Patched-Digest, why is this not an "If-"-prefixed conditional request > field? Also, that suggests two useful conditions: a precondition (don't > make this change unless the resource is in this state to start with) and > postcondition (roll back any change if the resource does not end up in this > state). > > An early iteration included If-match with ETag but I felt it distracted > from the digest story. It needed to assume the client has already obtained > an ETag from the server somehow and then require a leap of faith for the > ETag generation story. That's not to say a real deployment might not do > this. > > However, if you mean pre condition based on digest, then sure that would > be nice but can't be shoehorned into existing If-match. For post condition > check, that is basically what patched-digest is. > > A way to improve this demo might be to add more statefulness around the > resource and any manipulations to it; showing them clearly as a sequence of > modifications. I'll have a think. > > On Tue, Aug 4, 2026, at 09:43, Lucas Pardue wrote: > > Hi folks, > > > > Content-Digest and Repr-Digest (RFC 9530) have been kicking around a > > while, and Unencoded-Digest is in the RFC editor queue. Something I've > > heard semi-regularly is that the HTTP semantic concepts in relation to > > these digest fields can be tricky to wrap your head around. > > Additionally, while the docs have some illustrative examples that > > attempt to help, transposing those into practical usage can be a little > > painful and error prone. > > > > I plan to write an informal blog on the digest fields topic soon. To > > support that, I've also been developing a set of browser-based > > interactive demos and have made those available at > > https://lucaspardue.com/integrity-demos/. This work is inspired by the > > Signatures demo site https://httpsig.org/ (thanks Justin et al) which > > does include Content-Digest. However, I felt I needed a slightly > > different approach to covering all the other fields and their > > relationships. > > > > This is v1 of the demos made with help from Claude. There may be > > omissions and/or mistakes. I welcome feedback, please send it to me > > directly to avoid spamming the list. > > > > Cheers, > > Lucas > > > > -- Rory Hewitt https://www.linkedin.com/in/roryhewitt
Received on Tuesday, 4 August 2026 17:00:42 UTC