public function notModified()
    {
        $this->_createStream();
        $this->_setStatus(304);

        $remove = [
            'Allow',
            'Content-Encoding',
            'Content-Language',
            'Content-Length',
            'Content-MD5',
            'Content-Type',
            'Last-Modified'
        ];
        foreach ($remove as $header) {
            $this->_clearHeader($header);
        }
    }
public function notModified()
    {
        $this->_createStream();
        $this->_setStatus(304);

        $remove = [
            'Allow',
            'Content-Encoding',
            'Content-Language',
            'Content-Length',
            'Content-MD5',
            'Content-Type',
            'Last-Modified'
        ];
        foreach ($remove as $header) {
            $this->_clearHeader($header);
        }
    }
public function notModified ( ) { $ this -> _createStream ( ) ; $ this -> _setStatus ( 304 ) ; $ remove = [ 'Allow' , 'Content-Encoding' , 'Content-Language' , 'Content-Length' , 'Content-MD5' , 'Content-Type' , 'Last-Modified' ] ; foreach ( $ remove as $ header ) { $ this -> _clearHeader ( $ header ) ; } }
Sets the response as Not Modified by removing any body contents
setting the status code to "304 Not Modified" and removing all
conflicting headers

*Warning* This method mutates the response in-place and should be avoided.

@return void
Sets the response as Not Modified by removing any body contents setting the status code to 304 Not Modified and removing all conflicting headers