]> git.mxchange.org Git - friendica.git/blobdiff - src/Network/HTTPException/BadGatewayException.php
spelling: one
[friendica.git] / src / Network / HTTPException / BadGatewayException.php
index ceaa3189e46822d842652ede0f935b0f7938ce4e..7ec93614f17afb6f093c05478043150b0984c22b 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 /**
- * @copyright Copyright (C) 2010-2021, the Friendica project
+ * @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 BadGatewayException extends HTTPException
 {
-       protected $code = 502;
+       protected $code        = 502;
+       protected $httpdesc    = 'Bad Gateway';
+       protected $explanation = 'The server was acting as a gateway or proxy and received an invalid response from the upstream server.';
 }