src/HttpResponse.php
public function getHeaders()
    {
        $headers = array_merge(
            $this->getRequestLineHeaders(),
            $this->getStandardHeaders(),
            $this->getCookieHeaders()
        );

        return $headers;
    }
public function getHeaders()
    {
        $headers = array_merge(
            $this->getRequestLineHeaders(),
            $this->getStandardHeaders(),
            $this->getCookieHeaders()
        );

        return $headers;
    }
public function getHeaders ( ) { $ headers = array_merge ( $ this -> getRequestLineHeaders ( ) , $ this -> getStandardHeaders ( ) , $ this -> getCookieHeaders ( ) ) ; return $ headers ; }
Returns an array with the HTTP headers.

@return array
Returns an array with the HTTP headers .