public function getResponseHeaders()
    {
        if ($this->offsetExists('headers') && is_array($this->headers)) {
            $headers = $this->headers;
        } else {
            $headers = [];
        }
        if (!array_key_exists('X-UA-Compatible', $headers)) {
            $headers['X-UA-Compatible'] = 'IE=edge,chrome=1';
        }

        // Remove null/empty values, this allow you to remove the X-UA-Compatible by making it empty.
        return array_filter($headers);
    }
public function getResponseHeaders()
    {
        if ($this->offsetExists('headers') && is_array($this->headers)) {
            $headers = $this->headers;
        } else {
            $headers = [];
        }
        if (!array_key_exists('X-UA-Compatible', $headers)) {
            $headers['X-UA-Compatible'] = 'IE=edge,chrome=1';
        }

        // Remove null/empty values, this allow you to remove the X-UA-Compatible by making it empty.
        return array_filter($headers);
    }
public function getResponseHeaders ( ) { if ( $ this -> offsetExists ( 'headers' ) && is_array ( $ this -> headers ) ) { $ headers = $ this -> headers ; } else { $ headers = [ ] ; } if ( ! array_key_exists ( 'X-UA-Compatible' , $ headers ) ) { $ headers [ 'X-UA-Compatible' ] = 'IE=edge,chrome=1' ; } // Remove null/empty values, this allow you to remove the X-UA-Compatible by making it empty.
 return array_filter ( $ headers ) ; }
Get additional response headers

@return array Of name => value for HTTP response headers
Get additional response headers