PayloadTooLarge
Less than 1 minute
PayloadTooLarge
HTTP 413 Payload Too Large response class.
class PayloadTooLarge extends \Hazaar\Controller\ResponseExtends: Hazaar\Controller\Response
This response indicates that the request entity is larger than the limits defined by the server. This is typically used when the client sends a request body that exceeds the server's configured maximum size.
Methods
__construct
Constructs the HTTP 413 Payload Too Large response.
public __construct(string $contentType = 'text/html'): voidThis constructor initializes the response with a status code of 413 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 Fri, 04 Sep 2026 23:32:16 +0000