src/Guzzle/Plugin/Cache/DefaultRevalidation.php
protected function handleBadResponse(BadResponseException $e)
    {
        // 404 errors mean the resource no longer exists, so remove from
        // cache, and prevent an additional request by throwing the exception
        if ($e->getResponse()->getStatusCode() == 404) {
            $this->storage->delete($e->getRequest());
            throw $e;
        }
    }
protected function handleBadResponse(BadResponseException $e)
    {
        // 404 errors mean the resource no longer exists, so remove from
        // cache, and prevent an additional request by throwing the exception
        if ($e->getResponse()->getStatusCode() == 404) {
            $this->storage->delete($e->getRequest());
            throw $e;
        }
    }
protected function handleBadResponse ( BadResponseException $ e ) { // 404 errors mean the resource no longer exists, so remove from // cache, and prevent an additional request by throwing the exception if ( $ e -> getResponse ( ) -> getStatusCode ( ) == 404 ) { $ this -> storage -> delete ( $ e -> getRequest ( ) ) ; throw $ e ; } }
Handles a bad response when attempting to revalidate

@param BadResponseException $e Exception encountered

@throws BadResponseException
Handles a bad response when attempting to revalidate