]> git.mxchange.org Git - friendica.git/blobdiff - src/Network/HTTPException/LenghtRequiredException.php
Merge pull request #11402 from annando/featured-endpoint
[friendica.git] / src / Network / HTTPException / LenghtRequiredException.php
index 00002a673e3247c5ff327641011af02009b1e878..8a827626e6a2d39bdf5193e3cf41bc6b3da6aaee 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 LenghtRequiredException extends HTTPException
 {
-       protected $code = 411;
+       protected $code        = 411;
+       protected $httpdesc    = 'Length Required';
+       protected $explanation = 'The request did not specify the length of its content, which is required by the requested resource.';
 }