did-resolution icon indicating copy to clipboard operation
did-resolution copied to clipboard

Model accept as the HTTP accept header

Open iherman opened this issue 10 months ago • 4 comments

Just wondering... would it be possible, for the sake of conceptual compatibility, to model the accept properties (both of DID and for DID URL) after the HTTP Accept header syntax (see, e.g., MDN). I.e., the caller may accept several media types, possibly with priorities. (My reading of the current text is that, at the moment, a single media type can be used.)

iherman avatar Jan 31 '25 13:01 iherman

You're right, at the moment the accept option can only contain a single media type, but I don't remember why we made it like this. I think what you suggest makes sense to me, happy to support this change..

peacekeeper avatar Feb 19 '25 21:02 peacekeeper

This was discussed during the #did meeting on 10 July 2025.

View the transcript

Model accept as the HTTP accept header #116

<ottomorac> w3c/did-resolution#116

ottomorac: The was a suggestion from Ivan to model the &ldquo;accept&rdquo; properties (both of DID and for DID URL) after the HTTP Accept header syntax. The suggestion was positively received by Markus. What would be the next steps here?

markus_sabadello: background was - when you invoke a resolver, you can pass the Accept header
… maybe the significance of this has changed a bit after we moved away from Abstract Data Model. but still has the same overall function as in HTTP
… even if at the moment we allow only a single mime type
… but in DID URL Dereferencing, we might have many different media types

<Zakim> manu, you wanted to agree, model after HTTP Accept.

manu: +1 to what Markus said, and what Ivan was suggesting
… lets not reinvent the wheel and just model it after the HTTP accept header

ottomorac: ok, consensus is to model it after HTTP Header, change the DID resolution algorithm.
… do we just label the issue as Ready for PR?

markus_sabadello: yes


w3cbot avatar Jul 10 '25 16:07 w3cbot

This was discussed during the #did meeting on 04 September 2025.

View the transcript

Model accept as the HTTP accept header w3c/did-resolution#116

manu: so, we want to avoid that, so lets keep discussing

<ottomorac> w3c/did-resolution#116

<ottomorac> There was agreement to model it after the HTTP Accept Header, there is change required in the DID resolution algorithm. We need someone to volunteer to create the PR.

ottomorac: looking for a volunteer for this PR

markus_sabadello: I can take this one


w3cbot avatar Sep 04 '25 16:09 w3cbot

This was discussed during the #did meeting on 11 November 2025.

View the transcript

w3c/did-resolution#116

@wip: we talk model accept headers we take that on we are ready for model accept headers.

markus_sabadello: I already assigned


w3cbot avatar Nov 11 '25 09:11 w3cbot