]> git.mxchange.org Git - friendica.git/blobdiff - src/Network/HTTPException/GatewayTimeoutException.php
Changed scope
[friendica.git] / src / Network / HTTPException / GatewayTimeoutException.php
index 48bf4dcd2089be15475fdd4a192cf9b8d334d683..695616f0d7a09334d35943563d0048b0d38ac10d 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 /**
- * @copyright Copyright (C) 2020, Friendica
+ * @copyright Copyright (C) 2010-2021, the Friendica project
  *
  * @license GNU AGPL version 3 or any later version
  *
@@ -25,5 +25,7 @@ use Friendica\Network\HTTPException;
 
 class GatewayTimeoutException extends HTTPException
 {
-       protected $code = 504;
+       protected $code        = 504;
+       protected $httpdesc    = 'Gateway Timeout';
+       protected $explanation = 'The server was acting as a gateway or proxy and did not receive a timely response from the upstream server.';
 }