<?php
/**
- * @copyright Copyright (C) 2010-2021, the Friendica project
+ * @copyright Copyright (C) 2010-2022, the Friendica project
*
* @license GNU AGPL version 3 or any later version
*
class MethodNotAllowedException extends HTTPException
{
- protected $code = 405;
+ protected $code = 405;
+ protected $httpdesc = 'Method Not Allowed';
+ protected $explanation = 'A request method is not supported for the requested resource; for example, a GET request on a form that requires data to be presented via POST, or a PUT request on a read-only resource.';
}