src/Guzzle/Http/RedirectPlugin.php
public function cleanupRequest(Event $event)
    {
        $params = $event['request']->getParams();
        unset($params[self::REDIRECT_COUNT]);
        unset($params[self::PARENT_REQUEST]);
    }
public function cleanupRequest(Event $event)
    {
        $params = $event['request']->getParams();
        unset($params[self::REDIRECT_COUNT]);
        unset($params[self::PARENT_REQUEST]);
    }
public function cleanupRequest ( Event $ event ) { $ params = $ event [ 'request' ] -> getParams ( ) ; unset ( $ params [ self :: REDIRECT_COUNT ] ) ; unset ( $ params [ self :: PARENT_REQUEST ] ) ; }
Clean up the parameters of a request when it is cloned

@param Event $event Event emitted
Clean up the parameters of a request when it is cloned