question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

HTTP bindings for deactivated DIDs are ignored

See original GitHub issue

Hi,

While improving on the KILT did driver we realised that the current implementation of the universal resolver for the biggest part follows the did resolution specs on http bindings, but it seems to disregard the recommendation to flag deactivated DIDs with a 410 status code. We are wondering if that is intentional or whether it is worth fixing?

Examples This way the deactivated status is obvious because of the document metadata: curl -v https://dev.uniresolver.io/1.0/identifiers/did:kilt:4r6RdVMNes2eEobxyxH7aVsesUqR2X175sUAXJfo7dEWxHUS Requesting only the document, however, obscures this (here the status code could help): curl -v -H 'accept: application/did+ld+json' https://dev.uniresolver.io/1.0/identifiers/did:kilt:4r6RdVMNes2eEobxyxH7aVsesUqR2X175sUAXJfo7dEWxHUS

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:6 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
peacekeepercommented, Mar 4, 2022

@rflechtner thanks for pointing this out. I think I just fixed this in 35bb7af, could you perhaps verify on your end?

@cihanss I think we also talked about this.

0reactions
rflechtnercommented, May 3, 2022

Yes, I agree. The implementation is to spec now, so no issue here. The issue that the http binding is potentially error-prone would belong there. What do you think about the resolver UI handling 410’s differently though?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Make clearer what HTTP bindings are ignored if not used in ...
httpResponseCode is ignored when resolving the HTTP bindings of any structure except an operation's output structure.
Read more >
KB5014754—Certificate-based authentication changes on ...
The Subject/Issuer, Issuer, and UPN certificate mappings are now considered weak and have been disabled by default. The bitmasked sum of the selected...
Read more >
Using the HTTP Binding Component
The HTTP Binding Component provides connectivity for SOAP over HTTP in a JBI 1.0 ... This attribute is ignored if the style attribute...
Read more >
What causes an adapter to be ignored when working with ...
bindings.BindingServiceImpl] Not transporting protocol response message because the HTTP response has been committed (this is a normal condition ...
Read more >
HTTP response status codes - MDN Web Docs - Mozilla
HTTP response status codes indicate whether a specific HTTP request has been successfully completed. Responses are grouped in five classes:
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found