uri made absolute against root.
uri
Uri absolute(Uri uri) => uri.hasScheme ? uri : root.resolveUri(uri);