mirror of
https://github.com/friendica/friendica
synced 2025-05-01 05:44:24 +02:00
Improved http error handling
This commit is contained in:
parent
b2165cdf22
commit
4236a9a105
55 changed files with 282 additions and 135 deletions
|
@ -25,5 +25,7 @@ use Friendica\Network\HTTPException;
|
|||
|
||||
class GoneException extends HTTPException
|
||||
{
|
||||
protected $code = 410;
|
||||
protected $code = 410;
|
||||
var $httpdesc = 'Gone';
|
||||
var $explanation = 'Indicates that the resource requested is no longer available and will not be available again.';
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue