]> git.mxchange.org Git - friendica.git/blobdiff - src/Network/HTTPException/UnsupportedMediaTypeException.php
spelling: one
[friendica.git] / src / Network / HTTPException / UnsupportedMediaTypeException.php
index 00c89cebdbb357e5c75d63f86408a539b223d2bd..c14044f746f4711ef4135a0f124ef45e0e7da5c2 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 /**
- * @copyright Copyright (C) 2010-2021, the Friendica project
+ * @copyright Copyright (C) 2010-2023, the Friendica project
  *
  * @license GNU AGPL version 3 or any later version
  *
@@ -25,5 +25,7 @@ use Friendica\Network\HTTPException;
 
 class UnsupportedMediaTypeException extends HTTPException
 {
-       protected $code = 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.';
 }