]> git.mxchange.org Git - friendica.git/blobdiff - src/Network/HTTPException/PreconditionFailedException.php
Merge remote-tracking branch 'upstream/2022.05-rc' into ap-endpoint-cache
[friendica.git] / src / Network / HTTPException / PreconditionFailedException.php
index 9baf5a09282e29e8b7a67b5fdea09369356fe7cd..b78b5f90faa34b5e80c9edbec45bef79cd7d28fe 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 PreconditionFailedException extends HTTPException
 {
-       protected $code = 412;
+       protected $code        = 412;
+       protected $httpdesc    = 'Precondition Failed';
+       protected $explanation = 'The server does not meet one of the preconditions that the requester put on the request header fields.';
 }