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

17 lines
536 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 NonAcceptableException extends HTTPException
{
protected $code = 406;
protected $httpdesc = 'Not Acceptable';
protected $explanation = 'The requested resource is capable of generating only content not acceptable according to the Accept headers sent in the request.';
}