Improved http error handling
This commit is contained in:
parent
b2165cdf22
commit
4236a9a105
55 changed files with 277 additions and 130 deletions
|
|
@ -25,5 +25,7 @@ use Friendica\Network\HTTPException;
|
|||
|
||||
class GatewayTimeoutException extends HTTPException
|
||||
{
|
||||
protected $code = 504;
|
||||
protected $code = 504;
|
||||
var $httpdesc = 'Gateway Timeout';
|
||||
var $explanation = 'The server was acting as a gateway or proxy and did not receive a timely response from the upstream server.';
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue