mirror of
https://github.com/friendica/friendica
synced 2025-04-13 14:39:06 +00:00
17 lines
600 B
PHP
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.';
|
|
}
|