WIP: first tests for building dav endpoints

This commit is contained in:
2023-09-12 11:24:50 +02:00
parent ae9f1e3905
commit 6893c833e4
10 changed files with 374 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
<?php
namespace Chill\DocStoreBundle\Dav\Response;
use Symfony\Component\HttpFoundation\Response;
class DavResponse extends Response
{
public function __construct($content = '', int $status = 200, array $headers = [])
{
parent::__construct($content, $status, $headers);
$this->headers->add(['DAV' => '1']);
}
}