mirror of
https://codeberg.org/icewind/SearchDAV.git
synced 2026-08-03 04:34:51 +02:00
more types
This commit is contained in:
parent
721b8825d8
commit
d3eb42cd90
14 changed files with 32 additions and 34 deletions
|
|
@ -54,7 +54,7 @@ class DiscoverHandler {
|
|||
$this->queryParser = $queryParser;
|
||||
}
|
||||
|
||||
public function handelDiscoverRequest($xml, RequestInterface $request, ResponseInterface $response) {
|
||||
public function handelDiscoverRequest($xml, RequestInterface $request, ResponseInterface $response): bool {
|
||||
if (!isset($xml['{DAV:}basicsearch'])) {
|
||||
$response->setStatus(400);
|
||||
$response->setBody('Unexpected xml content for query-schema-discovery, expected basicsearch');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue