Add negative unit testing for incorrect/missing Content-Type values in requests
rhofvendahl opened this issue · comments
rhofvendahl commented
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
.
rhofvendahl commented
Use of Content-Type is now uncertain - see discussion on #573
Orie Steele commented
Lets cover:
application/vc+ld+json+jwt
application/vp+ld+json+jwt
Accept
and Content-Type
Nis Jespersen commented
Start by describing in respec the NDR which we are aiming for.
Orie Steele commented
This file will need to be updated https://github.com/w3c-ccg/traceability-interop/blob/main/docs/spec/index.html
Nis Jespersen commented
Closing - covered in other issues.