added license header
don't use dav field to determine resource