]> git.mxchange.org Git - friendica.git/blobdiff - src/Network/HTTPException/ExpectationFailedException.php
Test: Disable magiclink in posts
[friendica.git] / src / Network / HTTPException / ExpectationFailedException.php
index 4269fbde51032c012b19d8bcf687257232e176da..c6cb7d5f0f042f627e9c9c361b3de66a02d27ae6 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 /**
- * @copyright Copyright (C) 2010-2021, the Friendica project
+ * @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 ExpectationFailedException extends HTTPException
 {
-       protected $code = 417;
+       protected $code        = 417;
+       protected $httpdesc    = 'Expectation Failed';
+       protected $explanation = 'The server cannot meet the requirements of the Expect request-header field.';
 }