private function getResponseHeaders()
    {
        if (!$this->responseHeaders) {
            foreach ($this->getSentHeaders() as $item) {
                list($key, $value) = explode(':', $item, 2);

                $this->responseHeaders[$key] = trim($value);
            }
        }

        return $this->responseHeaders;
    }
private function getResponseHeaders()
    {
        if (!$this->responseHeaders) {
            foreach ($this->getSentHeaders() as $item) {
                list($key, $value) = explode(':', $item, 2);

                $this->responseHeaders[$key] = trim($value);
            }
        }

        return $this->responseHeaders;
    }
private function getResponseHeaders ( ) { if ( ! $ this -> responseHeaders ) { foreach ( $ this -> getSentHeaders ( ) as $ item ) { list ( $ key , $ value ) = explode ( ':' , $ item , 2 ) ; $ this -> responseHeaders [ $ key ] = trim ( $ value ) ; } } return $ this -> responseHeaders ; }
Get headers and populate local responseHeaders variable

@return array
Get headers and populate local responseHeaders variable