37 $this->server->on(
'method:GET', [$this,
'httpGet'], 90);
49 $node = $this->server->tree->getNodeForPath(
$request->getPath());
50 if ($node instanceof DAV\
IFile)
return;
foreach($paths as $path) $request
An exception for terminatinating execution or to throw for unit testing.
This is a simple plugin that will map any GET request for non-files to PROPFIND allprops-requests.
httpGet(RequestInterface $request, ResponseInterface $response)
This method intercepts GET requests to non-files, and changes it into an HTTP PROPFIND request.
initialize(DAV\Server $server)
Initializes the plugin and subscribes to events.
The baseclass for all server plugins.
This interface represents a file in the directory tree.
The RequestInterface represents a HTTP request.
This interface represents a HTTP response.