get_Request method

Request get_Request(
  1. PathUri path
)

Returns a request to get the content of the file at path.

See:

Implementation

http.Request get_Request(PathUri path) {
  final request = http.Request('GET', _constructUri(path))..headers['OCS-APIRequest'] = 'true';

  _addBaseHeaders(request);
  return request;
}