report_Request method
Request
report_Request(
- PathUri path,
- WebDavOcFilterRules filterRules, {
- WebDavPropWithoutValues? prop,
Request to run the filter-files report with the filterRules
on the resource at path
.
See:
- report for a complete operation executing this request.
Implementation
http.Request report_Request(
PathUri path,
WebDavOcFilterRules filterRules, {
WebDavPropWithoutValues? prop,
}) {
final request = http.Request('REPORT', _constructUri(path))
..encoding = utf8
..body = WebDavOcFilterFiles(
filterRules: filterRules,
prop: prop ?? const WebDavPropWithoutValues(), // coverage:ignore-line
).toXmlElement(namespaces: namespaces).toXmlString();
_addBaseHeaders(request);
return request;
}