original_string: public function getResponseHeaders():array
      {
          $headers = [];
          foreach ($this->getResponse()->getHeaders() as $header => $values) {
              if (preg_grep('/^'.preg_quote($header, '$/').'/ui', $this->acceptableProxyHeaders)) {
                  $headers[$header] = $values;
              }
          }
          return $headers;
      }
code: public function getResponseHeaders():array
      {
          $headers = [];
          foreach ($this->getResponse()->getHeaders() as $header => $values) {
              if (preg_grep('/^'.preg_quote($header, '$/').'/ui', $this->acceptableProxyHeaders)) {
                  $headers[$header] = $values;
              }
          }
          return $headers;
      }
code_tokens: public function getResponseHeaders ( ) : array { $ headers = [ ] ; foreach ( $ this -> getResponse ( ) -> getHeaders ( ) as $ header => $ values ) { if ( preg_grep ( '/^' . preg_quote ( $ header , '$/' ) . '/ui' , $ this -> acceptableProxyHeaders ) ) { $ headers [ $ header ] = $ values ; } } return $ headers ; }
docstring: Returns all the imported headers from the HTTP response.
  
  @return array
  @throws \GuzzleHttp\Exception\GuzzleException
docstring_tokens: Returns all the imported headers from the HTTP response .