I like it because:
- URI parser can detect that "
~fonts" makes no sense unless the MIME type is PDF.
- It doesn't mess the URI parameters which are about the document itself (not its metadata).
- It's easy to extend with other functions like word count or whatever, with no risk to create incompatible options.
But meanwhile I had to find a workaround for displaying directories: a pseudo
-.htmldocument. So we could get an unified way to display metadata through some kind of "service" (including errors):
Or, with Safari: