In order to ease testing of VDRs, it would be useful to allow unencrypted HTTP and use of an arbitrary port for "localhost" DIDs. Just as in https://w3c-ccg.github.io/did-method-web/#method-specific-identifier the colon should be percent-encoded in order to distinguish it from the path components of the DID. When the domain of the DID is "localhost", then http:// should be used in the DID resolution process instead of https://, because typically the service being tested will not have TLS enabled.
In order to ease testing of VDRs, it would be useful to allow unencrypted HTTP and use of an arbitrary port for "localhost" DIDs. Just as in https://w3c-ccg.github.io/did-method-web/#method-specific-identifier the colon should be percent-encoded in order to distinguish it from the path components of the DID. When the domain of the DID is "localhost", then
http://
should be used in the DID resolution process instead ofhttps://
, because typically the service being tested will not have TLS enabled.