Page MenuHomePhabricator

UnsupportedMediaType.php
No OneTemporary

UnsupportedMediaType.php

<?php
namespace Sabre\DAV\Exception;
use Sabre\DAV;
/**
* 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-2015 fruux GmbH (https://fruux.com/).
* @author Evert Pot (http://evertpot.com/)
* @license http://sabre.io/license/ Modified BSD License
*/
class UnsupportedMediaType extends DAV\Exception {
/**
* returns the http statuscode for this exception
*
* @return int
*/
function getHTTPCode() {
return 415;
}
}

File Metadata

Mime Type
text/x-php
Expires
Sun, Dec 22, 1:44 AM (6 d, 2 h ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
914333
Default Alt Text
UnsupportedMediaType.php (633 B)

Event Timeline