mirror of
https://github.com/friendica/friendica
synced 2025-04-27 02:30:10 +00: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 NotImplementedException extends HTTPException
|
||||
{
|
||||
protected $code = 501;
|
||||
protected $code = 501;
|
||||
var $httpdesc = 'Not Implemented';
|
||||
var $explanation = 'The server either does not recognize the request method, or it lacks the ability to fulfil the request. Usually this implies future availability (e.g., a new feature of a web-service API).';
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue