diff options
Diffstat (limited to '3dparty/Sabre/DAV/Exception/RequestedRangeNotSatisfiable.php')
-rw-r--r-- | 3dparty/Sabre/DAV/Exception/RequestedRangeNotSatisfiable.php | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/3dparty/Sabre/DAV/Exception/RequestedRangeNotSatisfiable.php b/3dparty/Sabre/DAV/Exception/RequestedRangeNotSatisfiable.php new file mode 100644 index 00000000000..37abbd729d1 --- /dev/null +++ b/3dparty/Sabre/DAV/Exception/RequestedRangeNotSatisfiable.php @@ -0,0 +1,29 @@ +<?php + +/** + * RequestedRangeNotSatisfiable + * + * This exception is normally thrown when the user + * request a range that is out of the entity bounds. + * + * @package Sabre + * @subpackage DAV + * @copyright Copyright (C) 2007-2011 Rooftop Solutions. All rights reserved. + * @author Evert Pot (http://www.rooftopsolutions.nl/) + * @license http://code.google.com/p/sabredav/wiki/License Modified BSD License + */ +class Sabre_DAV_Exception_RequestedRangeNotSatisfiable extends Sabre_DAV_Exception { + + /** + * returns the http statuscode for this exception + * + * @return int + */ + public function getHTTPCode() { + + return 416; + + } + +} + |