HTTPVersionNotSupported
Less than 1 minute
HTTPVersionNotSupported
HTTP 505 HTTP Version Not Supported response class.
class HTTPVersionNotSupported extends \Hazaar\Controller\Response\HTTP\ResponseThis response is sent when the HTTP version used in the request is not supported by the server. This typically occurs when the server does not support the protocol version specified in the request.
Methods
__construct
Constructs the HTTP 505 HTTP Version Not Supported response.
public __construct(string $contentType = 'text/html'): voidThis constructor initializes the response with a status code of 505 and sets the content type.
Parameters
| Parameter | Type | Description |
|---|---|---|
$contentType | string | The content type of the response. Defaults to text/html. |
Generated by Hazaar API Doc Generator on Tue, 21 Apr 2026 04:00:24 +0000