public function setNotModified(): Response
    {
        $this->setStatusCode(StatusCode::NOT_MODIFIED);
        $this->setContent(null);
        $this->headers
            ->remove('Allow')
            ->remove('Content-Encoding')
            ->remove('Content-Language')
            ->remove('Content-Length')
            ->remove('Content-MD5')
            ->remove('Content-Type')
            ->remove('Last-Modified');

        return $this;
    }