Actually I tried that, and it produces a UrlResource, which fails afterwards