public function throw(): void
    {
        throw new HttpRedirectException(
            $this->statusCode,
            $this->uri,
            null,
            $this->headers->all()
        );
    }