17 lines
352 B
PHP
17 lines
352 B
PHP
<?php
|
|
|
|
namespace WP_Ultimo\Dependencies\Amp\Http;
|
|
|
|
final class InvalidHeaderException extends \Exception
|
|
{
|
|
/**
|
|
* Thrown on header injection attempts.
|
|
*
|
|
* @param string $reason Reason that can be used as HTTP response reason.
|
|
*/
|
|
public function __construct(string $reason)
|
|
{
|
|
parent::__construct($reason);
|
|
}
|
|
}
|