So res.url is always defined? I thought it wasn't in some cases on the client i.e. shared mojits. If no res.url is valid, then 'content-path' should not be defined with a unusable value. If the test exposes a case where res.url should be defined but isn't, then I think we should open a separate issue.