ZF-7655: Zend_Rest_Route has references to "$this->_request->getHeader", should prob. be "$request->getHeader", getting null reference!

Description

line 163 - 171 from Zend_Rest_Route

// var_dump($this->_request); // prints NULL!!

        if ($requestMethod != 'get') { 
            if ($request->getParam('_method')) { 
                $values[$this->_actionKey] = strtolower($request->getParam('_method')); 
            } elseif ( $this->_request->getHeader('X-HTTP-Method-Override') ) {
                $values[$this->_actionKey] = strtolower($this->_request->getHeader('X-HTTP-Method-Override'));
            } else { 
                $values[$this->_actionKey] = $requestMethod; 
            }

Comments

Fixed in trunk and 1.9 release branch