We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0530c01 commit 507c98bCopy full SHA for 507c98b
1 file changed
uni-resolver-core/src/main/java/uniresolver/UniResolver.java
@@ -1,5 +1,6 @@
1
package uniresolver;
2
3
+import foundation.identity.did.representations.Representations;
4
import org.slf4j.Logger;
5
import org.slf4j.LoggerFactory;
6
import uniresolver.result.ResolveResult;
@@ -22,7 +23,7 @@ public interface UniResolver extends DIDResolver {
22
23
@Override public ResolveResult resolve(String didString, Map<String, Object> resolutionOptions) throws ResolutionException;
24
25
default public ResolveResult resolve(String didString) throws ResolutionException {
- return this.resolve(didString, new HashMap<>());
26
+ return this.resolve(didString, Map.of("accept", Representations.DEFAULT_MEDIA_TYPE));
27
}
28
29
public Map<String, Map<String, Object>> properties() throws ResolutionException;
0 commit comments