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

Add negative unit testing for incorrect/missing Content-Type values in requests

rhofvendahl opened this issue · comments

Currently the Content-Type 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

Lets cover:

  • application/vc+ld+json+jwt
  • application/vp+ld+json+jwt

Accept and Content-Type

Start by describing in respec the NDR which we are aiming for.

Closing - covered in other issues.