X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FNetwork%2FHTTPException%2FUnsupportedMediaTypeException.php;h=c14044f746f4711ef4135a0f124ef45e0e7da5c2;hb=46cd39fb34613f4b331793f19c0e562f93125066;hp=b0399017392cf00e1d43bc7e3392d1e726eea64e;hpb=5c1fae25368c41aef9a8a18ccda27fc35b0b9318;p=friendica.git diff --git a/src/Network/HTTPException/UnsupportedMediaTypeException.php b/src/Network/HTTPException/UnsupportedMediaTypeException.php index b039901739..c14044f746 100644 --- a/src/Network/HTTPException/UnsupportedMediaTypeException.php +++ b/src/Network/HTTPException/UnsupportedMediaTypeException.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Network\HTTPException; @@ -6,5 +25,7 @@ use Friendica\Network\HTTPException; class UnsupportedMediaTypeException extends HTTPException { - var $httpcode = 415; + protected $code = 415; + protected $httpdesc = 'Unsupported Media Type'; + protected $explanation = 'The request entity has a media type which the server or resource does not support. For example, the client uploads an image as image/svg+xml, but the server requires that images use a different format.'; }