aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/sabre/dav/lib/Sabre/DAV/Exception
diff options
context:
space:
mode:
authorredmatrix <git@macgirvin.com>2016-05-10 17:26:44 -0700
committerredmatrix <git@macgirvin.com>2016-05-10 17:26:44 -0700
commit0b02a6d123b2014705998c94ddf3d460948d3eac (patch)
tree78ff2cab9944a4f5ab3f80ec93cbe1120de90bb2 /vendor/sabre/dav/lib/Sabre/DAV/Exception
parent40b5b6e9d2da7ab65c8b4d38cdceac83a4d78deb (diff)
downloadvolse-hubzilla-0b02a6d123b2014705998c94ddf3d460948d3eac.tar.gz
volse-hubzilla-0b02a6d123b2014705998c94ddf3d460948d3eac.tar.bz2
volse-hubzilla-0b02a6d123b2014705998c94ddf3d460948d3eac.zip
initial sabre upgrade (needs lots of work - to wit: authentication, redo the browser interface, and rework event export/import)
Diffstat (limited to 'vendor/sabre/dav/lib/Sabre/DAV/Exception')
-rw-r--r--vendor/sabre/dav/lib/Sabre/DAV/Exception/BadRequest.php28
-rw-r--r--vendor/sabre/dav/lib/Sabre/DAV/Exception/Conflict.php28
-rw-r--r--vendor/sabre/dav/lib/Sabre/DAV/Exception/ConflictingLock.php37
-rw-r--r--vendor/sabre/dav/lib/Sabre/DAV/Exception/FileNotFound.php19
-rw-r--r--vendor/sabre/dav/lib/Sabre/DAV/Exception/Forbidden.php27
-rw-r--r--vendor/sabre/dav/lib/Sabre/DAV/Exception/InsufficientStorage.php27
-rw-r--r--vendor/sabre/dav/lib/Sabre/DAV/Exception/InvalidResourceType.php33
-rw-r--r--vendor/sabre/dav/lib/Sabre/DAV/Exception/LengthRequired.php30
-rw-r--r--vendor/sabre/dav/lib/Sabre/DAV/Exception/LockTokenMatchesRequestUri.php41
-rw-r--r--vendor/sabre/dav/lib/Sabre/DAV/Exception/Locked.php73
-rw-r--r--vendor/sabre/dav/lib/Sabre/DAV/Exception/MethodNotAllowed.php45
-rw-r--r--vendor/sabre/dav/lib/Sabre/DAV/Exception/NotAuthenticated.php30
-rw-r--r--vendor/sabre/dav/lib/Sabre/DAV/Exception/NotFound.php28
-rw-r--r--vendor/sabre/dav/lib/Sabre/DAV/Exception/NotImplemented.php27
-rw-r--r--vendor/sabre/dav/lib/Sabre/DAV/Exception/PaymentRequired.php30
-rw-r--r--vendor/sabre/dav/lib/Sabre/DAV/Exception/PreconditionFailed.php71
-rw-r--r--vendor/sabre/dav/lib/Sabre/DAV/Exception/ReportNotSupported.php32
-rw-r--r--vendor/sabre/dav/lib/Sabre/DAV/Exception/RequestedRangeNotSatisfiable.php31
-rw-r--r--vendor/sabre/dav/lib/Sabre/DAV/Exception/ServiceUnavailable.php30
-rw-r--r--vendor/sabre/dav/lib/Sabre/DAV/Exception/UnsupportedMediaType.php28
20 files changed, 0 insertions, 695 deletions
diff --git a/vendor/sabre/dav/lib/Sabre/DAV/Exception/BadRequest.php b/vendor/sabre/dav/lib/Sabre/DAV/Exception/BadRequest.php
deleted file mode 100644
index d59727e3a..000000000
--- a/vendor/sabre/dav/lib/Sabre/DAV/Exception/BadRequest.php
+++ /dev/null
@@ -1,28 +0,0 @@
-<?php
-
-namespace Sabre\DAV\Exception;
-
-/**
- * BadRequest
- *
- * The BadRequest is thrown when the user submitted an invalid HTTP request
- * BadRequest
- *
- * @copyright Copyright (C) 2007-2014 fruux GmbH (https://fruux.com/).
- * @author Evert Pot (http://evertpot.com/)
- * @license http://sabre.io/license/ Modified BSD License
- */
-class BadRequest extends \Sabre\DAV\Exception {
-
- /**
- * Returns the HTTP statuscode for this exception
- *
- * @return int
- */
- public function getHTTPCode() {
-
- return 400;
-
- }
-
-}
diff --git a/vendor/sabre/dav/lib/Sabre/DAV/Exception/Conflict.php b/vendor/sabre/dav/lib/Sabre/DAV/Exception/Conflict.php
deleted file mode 100644
index cbb8fcf1a..000000000
--- a/vendor/sabre/dav/lib/Sabre/DAV/Exception/Conflict.php
+++ /dev/null
@@ -1,28 +0,0 @@
-<?php
-
-namespace Sabre\DAV\Exception;
-
-/**
- * Conflict
- *
- * A 409 Conflict is thrown when a user tried to make a directory over an existing
- * file or in a parent directory that doesn't exist.
- *
- * @copyright Copyright (C) 2007-2014 fruux GmbH (https://fruux.com/).
- * @author Evert Pot (http://evertpot.com/)
- * @license http://sabre.io/license/ Modified BSD License
- */
-class Conflict extends \Sabre\DAV\Exception {
-
- /**
- * Returns the HTTP statuscode for this exception
- *
- * @return int
- */
- public function getHTTPCode() {
-
- return 409;
-
- }
-
-}
diff --git a/vendor/sabre/dav/lib/Sabre/DAV/Exception/ConflictingLock.php b/vendor/sabre/dav/lib/Sabre/DAV/Exception/ConflictingLock.php
deleted file mode 100644
index 715870f46..000000000
--- a/vendor/sabre/dav/lib/Sabre/DAV/Exception/ConflictingLock.php
+++ /dev/null
@@ -1,37 +0,0 @@
-<?php
-
-namespace Sabre\DAV\Exception;
-
-use Sabre\DAV;
-
-/**
- * ConflictingLock
- *
- * Similar to the Locked exception, this exception thrown when a LOCK request
- * was made, on a resource which was already locked
- *
- * @copyright Copyright (C) 2007-2014 fruux GmbH (https://fruux.com/).
- * @author Evert Pot (http://evertpot.com/)
- * @license http://sabre.io/license/ Modified BSD License
- */
-class ConflictingLock extends Locked {
-
- /**
- * This method allows the exception to include additional information into the WebDAV error response
- *
- * @param DAV\Server $server
- * @param \DOMElement $errorNode
- * @return void
- */
- public function serialize(DAV\Server $server, \DOMElement $errorNode) {
-
- if ($this->lock) {
- $error = $errorNode->ownerDocument->createElementNS('DAV:','d:no-conflicting-lock');
- $errorNode->appendChild($error);
- if (!is_object($this->lock)) var_dump($this->lock);
- $error->appendChild($errorNode->ownerDocument->createElementNS('DAV:','d:href',$this->lock->uri));
- }
-
- }
-
-}
diff --git a/vendor/sabre/dav/lib/Sabre/DAV/Exception/FileNotFound.php b/vendor/sabre/dav/lib/Sabre/DAV/Exception/FileNotFound.php
deleted file mode 100644
index aa4844cb9..000000000
--- a/vendor/sabre/dav/lib/Sabre/DAV/Exception/FileNotFound.php
+++ /dev/null
@@ -1,19 +0,0 @@
-<?php
-
-namespace Sabre\DAV\Exception;
-
-/**
- * FileNotFound
- *
- * Deprecated: Warning, this class is deprecated and will be removed in a
- * future version of SabreDAV. Please use Sabre\DAV\Exception\NotFound instead.
- *
- * @copyright Copyright (C) 2007-2014 fruux GmbH (https://fruux.com/).
- * @author Evert Pot (http://evertpot.com/)
- * @deprecated Use Sabre\DAV\Exception\NotFound instead
- * @license http://sabre.io/license/ Modified BSD License
- */
-class FileNotFound extends NotFound {
-
-}
-
diff --git a/vendor/sabre/dav/lib/Sabre/DAV/Exception/Forbidden.php b/vendor/sabre/dav/lib/Sabre/DAV/Exception/Forbidden.php
deleted file mode 100644
index 2dc620612..000000000
--- a/vendor/sabre/dav/lib/Sabre/DAV/Exception/Forbidden.php
+++ /dev/null
@@ -1,27 +0,0 @@
-<?php
-
-namespace Sabre\DAV\Exception;
-
-/**
- * Forbidden
- *
- * This exception is thrown whenever a user tries to do an operation he's not allowed to
- *
- * @copyright Copyright (C) 2007-2014 fruux GmbH (https://fruux.com/).
- * @author Evert Pot (http://evertpot.com/)
- * @license http://sabre.io/license/ Modified BSD License
- */
-class Forbidden extends \Sabre\DAV\Exception {
-
- /**
- * Returns the HTTP statuscode for this exception
- *
- * @return int
- */
- public function getHTTPCode() {
-
- return 403;
-
- }
-
-}
diff --git a/vendor/sabre/dav/lib/Sabre/DAV/Exception/InsufficientStorage.php b/vendor/sabre/dav/lib/Sabre/DAV/Exception/InsufficientStorage.php
deleted file mode 100644
index f7e382c5a..000000000
--- a/vendor/sabre/dav/lib/Sabre/DAV/Exception/InsufficientStorage.php
+++ /dev/null
@@ -1,27 +0,0 @@
-<?php
-
-namespace Sabre\DAV\Exception;
-
-/**
- * InsufficientStorage
- *
- * This Exception can be thrown, when for example a harddisk is full or a quota is exceeded
- *
- * @copyright Copyright (C) 2007-2014 fruux GmbH (https://fruux.com/).
- * @author Evert Pot (http://evertpot.com/)
- * @license http://sabre.io/license/ Modified BSD License
- */
-class InsufficientStorage extends \Sabre\DAV\Exception {
-
- /**
- * Returns the HTTP statuscode for this exception
- *
- * @return int
- */
- public function getHTTPCode() {
-
- return 507;
-
- }
-
-}
diff --git a/vendor/sabre/dav/lib/Sabre/DAV/Exception/InvalidResourceType.php b/vendor/sabre/dav/lib/Sabre/DAV/Exception/InvalidResourceType.php
deleted file mode 100644
index 847ed4786..000000000
--- a/vendor/sabre/dav/lib/Sabre/DAV/Exception/InvalidResourceType.php
+++ /dev/null
@@ -1,33 +0,0 @@
-<?php
-
-namespace Sabre\DAV\Exception;
-
-/**
- * InvalidResourceType
- *
- * This exception is thrown when the user tried to create a new collection, with
- * a special resourcetype value that was not recognized by the server.
- *
- * See RFC5689 section 3.3
- *
- * @copyright Copyright (C) 2007-2014 fruux GmbH (https://fruux.com/).
- * @author Evert Pot (http://evertpot.com/)
- * @license http://sabre.io/license/ Modified BSD License
- */
-class InvalidResourceType extends Forbidden {
-
- /**
- * This method allows the exception to include additional information into the WebDAV error response
- *
- * @param DAV\Server $server
- * @param \DOMElement $errorNode
- * @return void
- */
- public function serialize(\Sabre\DAV\Server $server,\DOMElement $errorNode) {
-
- $error = $errorNode->ownerDocument->createElementNS('DAV:','d:valid-resourcetype');
- $errorNode->appendChild($error);
-
- }
-
-}
diff --git a/vendor/sabre/dav/lib/Sabre/DAV/Exception/LengthRequired.php b/vendor/sabre/dav/lib/Sabre/DAV/Exception/LengthRequired.php
deleted file mode 100644
index 9487686dc..000000000
--- a/vendor/sabre/dav/lib/Sabre/DAV/Exception/LengthRequired.php
+++ /dev/null
@@ -1,30 +0,0 @@
-<?php
-
-namespace Sabre\DAV\Exception;
-
-use Sabre\DAV;
-
-/**
- * LengthRequired
- *
- * This exception is thrown when a request was made that required a
- * Content-Length header, but did not contain one.
- *
- * @copyright Copyright (C) 2007-2014 fruux GmbH (https://fruux.com/).
- * @author Evert Pot (http://evertpot.com/)
- * @license http://sabre.io/license/ Modified BSD License
- */
-class LengthRequired extends DAV\Exception {
-
- /**
- * Returns the HTTP statuscode for this exception
- *
- * @return int
- */
- public function getHTTPCode() {
-
- return 411;
-
- }
-
-}
diff --git a/vendor/sabre/dav/lib/Sabre/DAV/Exception/LockTokenMatchesRequestUri.php b/vendor/sabre/dav/lib/Sabre/DAV/Exception/LockTokenMatchesRequestUri.php
deleted file mode 100644
index 37fc7f8dc..000000000
--- a/vendor/sabre/dav/lib/Sabre/DAV/Exception/LockTokenMatchesRequestUri.php
+++ /dev/null
@@ -1,41 +0,0 @@
-<?php
-
-namespace Sabre\DAV\Exception;
-
-use Sabre\DAV;
-
-/**
- * LockTokenMatchesRequestUri
- *
- * This exception is thrown by UNLOCK if a supplied lock-token is invalid
- *
- * @copyright Copyright (C) 2007-2014 fruux GmbH (https://fruux.com/).
- * @author Evert Pot (http://evertpot.com/)
- * @license http://sabre.io/license/ Modified BSD License
- */
-class LockTokenMatchesRequestUri extends Conflict {
-
- /**
- * Creates the exception
- */
- public function __construct() {
-
- $this->message = 'The locktoken supplied does not match any locks on this entity';
-
- }
-
- /**
- * This method allows the exception to include additional information into the WebDAV error response
- *
- * @param DAV\Server $server
- * @param \DOMElement $errorNode
- * @return void
- */
- public function serialize(DAV\Server $server,\DOMElement $errorNode) {
-
- $error = $errorNode->ownerDocument->createElementNS('DAV:','d:lock-token-matches-request-uri');
- $errorNode->appendChild($error);
-
- }
-
-}
diff --git a/vendor/sabre/dav/lib/Sabre/DAV/Exception/Locked.php b/vendor/sabre/dav/lib/Sabre/DAV/Exception/Locked.php
deleted file mode 100644
index 2bee1b02f..000000000
--- a/vendor/sabre/dav/lib/Sabre/DAV/Exception/Locked.php
+++ /dev/null
@@ -1,73 +0,0 @@
-<?php
-
-namespace Sabre\DAV\Exception;
-
-use Sabre\DAV;
-
-/**
- * Locked
- *
- * The 423 is thrown when a client tried to access a resource that was locked, without supplying a valid lock token
- *
- * @copyright Copyright (C) 2007-2014 fruux GmbH (https://fruux.com/).
- * @author Evert Pot (http://evertpot.com/)
- * @license http://sabre.io/license/ Modified BSD License
- */
-class Locked extends DAV\Exception {
-
- /**
- * Lock information
- *
- * @var Sabre\DAV\Locks\LockInfo
- */
- protected $lock;
-
- /**
- * Creates the exception
- *
- * A LockInfo object should be passed if the user should be informed
- * which lock actually has the file locked.
- *
- * @param DAV\Locks\LockInfo $lock
- */
- public function __construct(DAV\Locks\LockInfo $lock = null) {
-
- $this->lock = $lock;
-
- }
-
- /**
- * Returns the HTTP statuscode for this exception
- *
- * @return int
- */
- public function getHTTPCode() {
-
- return 423;
-
- }
-
- /**
- * This method allows the exception to include additional information into the WebDAV error response
- *
- * @param DAV\Server $server
- * @param \DOMElement $errorNode
- * @return void
- */
- public function serialize(DAV\Server $server,\DOMElement $errorNode) {
-
- if ($this->lock) {
- $error = $errorNode->ownerDocument->createElementNS('DAV:','d:lock-token-submitted');
- $errorNode->appendChild($error);
-
- $href = $errorNode->ownerDocument->createElementNS('DAV:','d:href');
- $href->appendChild($errorNode->ownerDocument->createTextNode($this->lock->uri));
- $error->appendChild(
- $href
- );
- }
-
- }
-
-}
-
diff --git a/vendor/sabre/dav/lib/Sabre/DAV/Exception/MethodNotAllowed.php b/vendor/sabre/dav/lib/Sabre/DAV/Exception/MethodNotAllowed.php
deleted file mode 100644
index 05970cfa8..000000000
--- a/vendor/sabre/dav/lib/Sabre/DAV/Exception/MethodNotAllowed.php
+++ /dev/null
@@ -1,45 +0,0 @@
-<?php
-
-namespace Sabre\DAV\Exception;
-
-/**
- * MethodNotAllowed
- *
- * The 405 is thrown when a client tried to create a directory on an already existing directory
- *
- * @copyright Copyright (C) 2007-2014 fruux GmbH (https://fruux.com/).
- * @author Evert Pot (http://evertpot.com/)
- * @license http://sabre.io/license/ Modified BSD License
- */
-class MethodNotAllowed extends \Sabre\DAV\Exception {
-
- /**
- * Returns the HTTP statuscode for this exception
- *
- * @return int
- */
- public function getHTTPCode() {
-
- return 405;
-
- }
-
- /**
- * This method allows the exception to return any extra HTTP response headers.
- *
- * The headers must be returned as an array.
- *
- * @param \Sabre\DAV\Server $server
- * @return array
- */
- public function getHTTPHeaders(\Sabre\DAV\Server $server) {
-
- $methods = $server->getAllowedMethods($server->getRequestUri());
-
- return array(
- 'Allow' => strtoupper(implode(', ',$methods)),
- );
-
- }
-
-}
diff --git a/vendor/sabre/dav/lib/Sabre/DAV/Exception/NotAuthenticated.php b/vendor/sabre/dav/lib/Sabre/DAV/Exception/NotAuthenticated.php
deleted file mode 100644
index c082d489b..000000000
--- a/vendor/sabre/dav/lib/Sabre/DAV/Exception/NotAuthenticated.php
+++ /dev/null
@@ -1,30 +0,0 @@
-<?php
-
-namespace Sabre\DAV\Exception;
-
-use Sabre\DAV;
-
-/**
- * NotAuthenticated
- *
- * This exception is thrown when the client did not provide valid
- * authentication credentials.
- *
- * @copyright Copyright (C) 2007-2014 fruux GmbH (https://fruux.com/).
- * @author Evert Pot (http://evertpot.com/)
- * @license http://sabre.io/license/ Modified BSD License
- */
-class NotAuthenticated extends DAV\Exception {
-
- /**
- * Returns the HTTP statuscode for this exception
- *
- * @return int
- */
- public function getHTTPCode() {
-
- return 401;
-
- }
-
-}
diff --git a/vendor/sabre/dav/lib/Sabre/DAV/Exception/NotFound.php b/vendor/sabre/dav/lib/Sabre/DAV/Exception/NotFound.php
deleted file mode 100644
index 83e699cb2..000000000
--- a/vendor/sabre/dav/lib/Sabre/DAV/Exception/NotFound.php
+++ /dev/null
@@ -1,28 +0,0 @@
-<?php
-
-namespace Sabre\DAV\Exception;
-
-/**
- * NotFound
- *
- * This Exception is thrown when a Node couldn't be found. It returns HTTP error code 404
- *
- * @copyright Copyright (C) 2007-2014 fruux GmbH (https://fruux.com/).
- * @author Evert Pot (http://evertpot.com/)
- * @license http://sabre.io/license/ Modified BSD License
- */
-class NotFound extends \Sabre\DAV\Exception {
-
- /**
- * Returns the HTTP statuscode for this exception
- *
- * @return int
- */
- public function getHTTPCode() {
-
- return 404;
-
- }
-
-}
-
diff --git a/vendor/sabre/dav/lib/Sabre/DAV/Exception/NotImplemented.php b/vendor/sabre/dav/lib/Sabre/DAV/Exception/NotImplemented.php
deleted file mode 100644
index 5f031cb7f..000000000
--- a/vendor/sabre/dav/lib/Sabre/DAV/Exception/NotImplemented.php
+++ /dev/null
@@ -1,27 +0,0 @@
-<?php
-
-namespace Sabre\DAV\Exception;
-
-/**
- * NotImplemented
- *
- * This exception is thrown when the client tried to call an unsupported HTTP method or other feature
- *
- * @copyright Copyright (C) 2007-2014 fruux GmbH (https://fruux.com/).
- * @author Evert Pot (http://evertpot.com/)
- * @license http://sabre.io/license/ Modified BSD License
- */
-class NotImplemented extends \Sabre\DAV\Exception {
-
- /**
- * Returns the HTTP statuscode for this exception
- *
- * @return int
- */
- public function getHTTPCode() {
-
- return 501;
-
- }
-
-}
diff --git a/vendor/sabre/dav/lib/Sabre/DAV/Exception/PaymentRequired.php b/vendor/sabre/dav/lib/Sabre/DAV/Exception/PaymentRequired.php
deleted file mode 100644
index 3c256a064..000000000
--- a/vendor/sabre/dav/lib/Sabre/DAV/Exception/PaymentRequired.php
+++ /dev/null
@@ -1,30 +0,0 @@
-<?php
-
-namespace Sabre\DAV\Exception;
-
-use Sabre\DAV;
-
-/**
- * Payment Required
- *
- * The PaymentRequired exception may be thrown in a case where a user must pay
- * to access a certain resource or operation.
- *
- * @copyright Copyright (C) 2007-2014 fruux GmbH (https://fruux.com/).
- * @author Evert Pot (http://evertpot.com/)
- * @license http://sabre.io/license/ Modified BSD License
- */
-class PaymentRequired extends DAV\Exception {
-
- /**
- * Returns the HTTP statuscode for this exception
- *
- * @return int
- */
- public function getHTTPCode() {
-
- return 402;
-
- }
-
-}
diff --git a/vendor/sabre/dav/lib/Sabre/DAV/Exception/PreconditionFailed.php b/vendor/sabre/dav/lib/Sabre/DAV/Exception/PreconditionFailed.php
deleted file mode 100644
index deb8a5bea..000000000
--- a/vendor/sabre/dav/lib/Sabre/DAV/Exception/PreconditionFailed.php
+++ /dev/null
@@ -1,71 +0,0 @@
-<?php
-
-namespace Sabre\DAV\Exception;
-
-use Sabre\DAV;
-
-/**
- * PreconditionFailed
- *
- * This exception is normally thrown when a client submitted a conditional request,
- * like for example an If, If-None-Match or If-Match header, which caused the HTTP
- * request to not execute (the condition of the header failed)
- *
- * @copyright Copyright (C) 2007-2014 fruux GmbH (https://fruux.com/).
- * @author Evert Pot (http://evertpot.com/)
- * @license http://sabre.io/license/ Modified BSD License
- */
-class PreconditionFailed extends DAV\Exception {
-
- /**
- * When this exception is thrown, the header-name might be set.
- *
- * This allows the exception-catching code to determine which HTTP header
- * caused the exception.
- *
- * @var string
- */
- public $header = null;
-
- /**
- * Create the exception
- *
- * @param string $message
- * @param string $header
- */
- public function __construct($message, $header=null) {
-
- parent::__construct($message);
- $this->header = $header;
-
- }
-
- /**
- * Returns the HTTP statuscode for this exception
- *
- * @return int
- */
- public function getHTTPCode() {
-
- return 412;
-
- }
-
- /**
- * This method allows the exception to include additional information into the WebDAV error response
- *
- * @param DAV\Server $server
- * @param \DOMElement $errorNode
- * @return void
- */
- public function serialize(DAV\Server $server,\DOMElement $errorNode) {
-
- if ($this->header) {
- $prop = $errorNode->ownerDocument->createElement('s:header');
- $prop->nodeValue = $this->header;
- $errorNode->appendChild($prop);
- }
-
- }
-
-}
diff --git a/vendor/sabre/dav/lib/Sabre/DAV/Exception/ReportNotSupported.php b/vendor/sabre/dav/lib/Sabre/DAV/Exception/ReportNotSupported.php
deleted file mode 100644
index 8e32096e0..000000000
--- a/vendor/sabre/dav/lib/Sabre/DAV/Exception/ReportNotSupported.php
+++ /dev/null
@@ -1,32 +0,0 @@
-<?php
-
-namespace Sabre\DAV\Exception;
-
-use Sabre\DAV;
-
-/**
- * ReportNotSupported
- *
- * This exception is thrown when the client requested an unknown report through the REPORT method
- *
- * @copyright Copyright (C) 2007-2014 fruux GmbH (https://fruux.com/).
- * @author Evert Pot (http://evertpot.com/)
- * @license http://sabre.io/license/ Modified BSD License
- */
-class ReportNotSupported extends Forbidden {
-
- /**
- * This method allows the exception to include additional information into the WebDAV error response
- *
- * @param DAV\Server $server
- * @param \DOMElement $errorNode
- * @return void
- */
- public function serialize(DAV\Server $server,\DOMElement $errorNode) {
-
- $error = $errorNode->ownerDocument->createElementNS('DAV:','d:supported-report');
- $errorNode->appendChild($error);
-
- }
-
-}
diff --git a/vendor/sabre/dav/lib/Sabre/DAV/Exception/RequestedRangeNotSatisfiable.php b/vendor/sabre/dav/lib/Sabre/DAV/Exception/RequestedRangeNotSatisfiable.php
deleted file mode 100644
index 25002be6a..000000000
--- a/vendor/sabre/dav/lib/Sabre/DAV/Exception/RequestedRangeNotSatisfiable.php
+++ /dev/null
@@ -1,31 +0,0 @@
-<?php
-
-namespace Sabre\DAV\Exception;
-
-use Sabre\DAV;
-
-/**
- * RequestedRangeNotSatisfiable
- *
- * This exception is normally thrown when the user
- * request a range that is out of the entity bounds.
- *
- * @copyright Copyright (C) 2007-2014 fruux GmbH (https://fruux.com/).
- * @author Evert Pot (http://evertpot.com/)
- * @license http://sabre.io/license/ Modified BSD License
- */
-class RequestedRangeNotSatisfiable extends DAV\Exception {
-
- /**
- * returns the http statuscode for this exception
- *
- * @return int
- */
- public function getHTTPCode() {
-
- return 416;
-
- }
-
-}
-
diff --git a/vendor/sabre/dav/lib/Sabre/DAV/Exception/ServiceUnavailable.php b/vendor/sabre/dav/lib/Sabre/DAV/Exception/ServiceUnavailable.php
deleted file mode 100644
index 59e433954..000000000
--- a/vendor/sabre/dav/lib/Sabre/DAV/Exception/ServiceUnavailable.php
+++ /dev/null
@@ -1,30 +0,0 @@
-<?php
-
-namespace Sabre\DAV\Exception;
-
-use Sabre\DAV;
-
-/**
- * ServiceUnavailable
- *
- * This exception is thrown in case the service
- * is currently not available (e.g. down for maintenance).
- *
- * @author Thomas Müller <thomas.mueller@tmit.eu>
- * @copyright Copyright (C) 2007-2014 fruux GmbH (https://fruux.com/).
- * @license http://sabre.io/license/ Modified BSD License
- */
-class ServiceUnavailable extends DAV\Exception {
-
- /**
- * Returns the HTTP statuscode for this exception
- *
- * @return int
- */
- public function getHTTPCode() {
-
- return 503;
-
- }
-
-}
diff --git a/vendor/sabre/dav/lib/Sabre/DAV/Exception/UnsupportedMediaType.php b/vendor/sabre/dav/lib/Sabre/DAV/Exception/UnsupportedMediaType.php
deleted file mode 100644
index 46eea60df..000000000
--- a/vendor/sabre/dav/lib/Sabre/DAV/Exception/UnsupportedMediaType.php
+++ /dev/null
@@ -1,28 +0,0 @@
-<?php
-
-namespace Sabre\DAV\Exception;
-
-/**
- * UnSupportedMediaType
- *
- * The 415 Unsupported Media Type status code is generally sent back when the client
- * tried to call an HTTP method, with a body the server didn't understand
- *
- * @copyright Copyright (C) 2007-2014 fruux GmbH (https://fruux.com/).
- * @author Evert Pot (http://evertpot.com/)
- * @license http://sabre.io/license/ Modified BSD License
- */
-class UnsupportedMediaType extends \Sabre\DAV\Exception {
-
- /**
- * returns the http statuscode for this exception
- *
- * @return int
- */
- public function getHTTPCode() {
-
- return 415;
-
- }
-
-}