w3c-ccg / traceability-interop

Verifiable Credentials for Supply Chain Interoperability Specification for HTTP

Home Page:https://w3id.org/traceability/interoperability

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Update relevant unit tests to include "Accept" header in requests

rhofvendahl opened this issue · comments

Currently the Accept header is used in Issue and Verify requests to specify the format of the verifiable credential. Legitimate values are vc (for json VCs with linked data proofs), vc-jwt, and (pending discussion) vc-cwt.

Use of Content-Type is now uncertain - see discussion on #573

@OR13 when we discussed this in August I believe you recommended making an issue (w3c/vc-jose-cose-test-suite#8) in https://github.com/w3c/vc-jose-cose-test-suite, so that these changes could be referenced by multiple projects. It's looking like there hasn't been any activity in that project in the past month, though.

Do you know if that project is still moving forward? If it isn't actively being worked on, I'd be happy to move ahead with implementing this in the trace-interop repo.

Yes, prefer work to be done in a place where the working group can benefit

So you do expect vc-jose-cose-test-suite project to move forward? If that's the case I suppose I should just take on the issue there, as there doesn't seem to be many active developers at this time.

Still WIP

I've broken this into two PRs: #605 for updating Accept headers, and #606 for adding a test for the requirement of Accept.