copy_Request method
Request to copy the resource from sourcePath
to destinationPath
.
See:
- copy for a complete operation executing this request.
Implementation
http.BaseRequest copy_Request(
PathUri sourcePath,
PathUri destinationPath, {
bool overwrite = false,
}) {
final request = http.Request('COPY', _constructUri(sourcePath));
_addCopyHeaders(
request,
destinationPath: destinationPath,
overwrite: overwrite,
);
_addBaseHeaders(request);
return request;
}