if (resource == null) {
response.appendContent(Fmt.S("Cannot find resource named: %s",HTML.escape(filename)));
}
else {
if (Log.aribawebResource_brand.isDebugEnabled()) {
String location = resource.url();
if (resource instanceof AWFileResource) {
AWFileResource file = (AWFileResource)resource;
location = file._fullPath();
}
Log.aribawebResource_brand.debug("Found: %s", location);