-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Positive and negative testing for Accept header in requests #8
Comments
This comment was marked as off-topic.
This comment was marked as off-topic.
@OR13 Based on the changes to |
@OR13 After looking through the test suite I'm unsure where it would be appropriate to specify request headers. I'm not seeing anything set up to test for request headers at all, and building in that functionality seems beyond the scope of this issue. |
@rhofvendahl — The values should be An |
@brentzundel @msporny are we planning to remove the multiple suffixes registrations for vc-jose-cose? I'm supportive of that at this point. |
As we experienced at IETF 118, looks like the MEDIAMAN WG wants to make registering multiple suffixes a painful process by requiring ALL suffixes to be registered. This works just fine for I find @TallTed's arguments here convincing: ietf-wg-mediaman/suffixes#20 (comment) Perhaps the way to look at vc-jose-cose is: the envelope format is either If we go this route, I can mandate the registration of ALL suffixes in a suffix chain in the MEDIAMAN WG, which is the last remaining issue before we go into LC there. The line of argumentation also feels defensible for vc-jose-cose (e.g., "This is how JOSE and COSE are designed to work"). If we're all aligned on this path forward, I can make the appropriate changes in the MEDIAMAN suffixes draft and that provides vc-jose-cose with a clear path forward on this issue. |
Tracking the potential change in the TR track work item: w3c/vc-jose-cose#179 |
There's a need to update the test suite to use
Accept
headers indicating the type of credential requested from the VC API.For example, in a case where a JWT is requested there should be a header
Accept: vc+ld+jwt
, whereas where plain json is desired the header value should bevc+ld+json
.This will at minimum involve:
Accept
headers in requestsAccept
header in requestsThis issue blocks w3c-ccg/traceability-interop#575 and w3c-ccg/traceability-interop#574, as the tests downstream should reflect the tests here.
The text was updated successfully, but these errors were encountered: