show domain hostname for resources without pathnames (fixes #47)
Merge pull request #48 from cvan/root-name

show domain hostname for resources without pathnames (fixes #47)