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