friendica-github/src/Network/HTTPException/MethodNotAllowedException.php
2024-08-24 15:27:00 +02:00

17 lines
600 B
PHP

<?php
// Copyright (C) 2010-2024, the Friendica project
// SPDX-FileCopyrightText: 2010-2024 the Friendica project
//
// SPDX-License-Identifier: AGPL-3.0-or-later
namespace Friendica\Network\HTTPException;
use Friendica\Network\HTTPException;
class MethodNotAllowedException extends HTTPException
{
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.';
}