w3c-ccg / traceability-interop

Verifiable Credentials for Supply Chain Interoperability Specification for HTTP
https://w3id.org/traceability/interoperability
Other
25 stars 10 forks source link

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

Closed rhofvendahl closed 11 months ago

rhofvendahl commented 1 year ago

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 1 year ago

Use of Content-Type is now uncertain - see discussion on https://github.com/w3c-ccg/traceability-interop/pull/573

OR13 commented 1 year ago

Lets cover:

Accept and Content-Type

nissimsan commented 1 year ago

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

OR13 commented 1 year ago

This file will need to be updated https://github.com/w3c-ccg/traceability-interop/blob/main/docs/spec/index.html

nissimsan commented 11 months ago

Closing - covered in other issues.