]> git.mxchange.org Git - friendica.git/blobdiff - src/Network/HTTPException/ExpectationFailedException.php
spelling: one
[friendica.git] / src / Network / HTTPException / ExpectationFailedException.php
index 6b0a6e6937bdece0f71aecbb7a41ebfd5e965469..df3ff97d6d765affb216dc725cd6c2e455fd387b 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 /**
- * @copyright Copyright (C) 2020, Friendica
+ * @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 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.';
 }