Skip to content
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

Fix did:web media type. #625

Merged
merged 1 commit into from
Oct 31, 2024
Merged

Fix did:web media type. #625

merged 1 commit into from
Oct 31, 2024

Conversation

timothee-haudebourg
Copy link
Contributor

The DID document media type returned by the DIDWeb resolver is always JSON-LD, even if the server response is a JSON document. This PR fixes it by using the response content type as DID document media type. It accepts application/json in addition to application/did+json as recommended by the specification.

@timothee-haudebourg timothee-haudebourg merged commit 0b6a82c into main Oct 31, 2024
3 checks passed
@timothee-haudebourg timothee-haudebourg deleted the fix_did_web_media_type branch October 31, 2024 17:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants