minor
trivial getResource:URL implementation