original_string: 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);
      }
code: 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);
      }
code_tokens: 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 ) ; }
docstring: Get additional response headers
  
  @return array Of name => value for HTTP response headers
docstring_tokens: Get additional response headers