]> git.mxchange.org Git - friendica.git/blobdiff - src/Network/HTTPException/NonAcceptableException.php
The friendica constants have been moved to the app class
[friendica.git] / src / Network / HTTPException / NonAcceptableException.php
index 3344d578ed9b187fa9615734e79c85cfce9c465e..3dac835a3f358f63de8702657ae8f82c3a3d733b 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 /**
- * @copyright Copyright (C) 2020, Friendica
+ * @copyright Copyright (C) 2010-2022, the Friendica project
  *
  * @license GNU AGPL version 3 or any later version
  *
@@ -25,5 +25,7 @@ use Friendica\Network\HTTPException;
 
 class NonAcceptableException extends HTTPException
 {
-       protected $code = 406;
+       protected $code        = 406;
+       protected $httpdesc    = 'Not Acceptable';
+       protected $explanation = 'The requested resource is capable of generating only content not acceptable according to the Accept headers sent in the request.';
 }