-
Notifications
You must be signed in to change notification settings - Fork 17
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
Support "file" not just "directory" paths #68
Comments
There hasn't been consensus in support of direct mapping as described. What would If you intend to encode DID information within the HTML, perhaps as a JSON object definition in javascript, would it be easier to simply use the https URL? |
The way I understand the intent of the path namespace in URLs is that no structure is assumed. The "file" vs "directory" distinction that we tend to make is entirely a convention that comes from many web servers directly mapping the path into a filesystem hierarchy. Ergo, the DID web spec should make no distinction between paths that end with slash or with |
The spec makes no distinction in that respect. The method specific identifier is colon delimited because people were uncomfortable with the use of the URI path. You can find the reason for this concern in DID core. Do you have a specific use case in mind? |
Consider
https://foo.example/bar/baz.html
.did:web:foo.example.com:bar:baz.html
. Is that intended? If so, add an example to the doc. If not, be clear it shouldn't be. (I believe the entire URL path namespace should be mappable, perhaps even including parameters).http://foo.example/bar/baz.html/did.json
. Is that intended, turning "file"baz.html
into a "directory" all of a sudden? If so, please be clear about it. If not, document an alternative.The text was updated successfully, but these errors were encountered: