path property
The path of file
Implementation
late final PathUri path = () {
final href = PathUri.parse(Uri.decodeFull(_response.href!));
return PathUri(
isAbsolute: false,
isDirectory: href.isDirectory,
// The server might be hosted at a subpath, so we don't have a fixed number of path segments to remove
pathSegments: href.pathSegments.sublist(href.pathSegments.indexOf('remote.php') + 2),
);
}();