move_Request method

Request move_Request(
  1. PathUri sourcePath,
  2. PathUri destinationPath, {
  3. bool overwrite = false,
})

Request to move the resource from sourcePath to destinationPath.

See:

  • move for a complete operation executing this request.

Implementation

http.Request move_Request(
  PathUri sourcePath,
  PathUri destinationPath, {
  bool overwrite = false,
}) {
  final request = http.Request('MOVE', _constructUri(sourcePath));

  _addCopyHeaders(
    request,
    destinationPath: destinationPath,
    overwrite: overwrite,
  );
  _addBaseHeaders(request);
  return request;
}