protected function AbstractMessage::changedHeader

Check to see if the modified headers need to reset any of the managed headers like cache-control

Parameters

string $header Header that changed:

5 calls to AbstractMessage::changedHeader()
AbstractMessage::addHeader in drupal/core/vendor/guzzle/http/Guzzle/Http/Message/AbstractMessage.php
Add a header to an existing collection of headers.
AbstractMessage::removeHeader in drupal/core/vendor/guzzle/http/Guzzle/Http/Message/AbstractMessage.php
Remove a specific HTTP header.
AbstractMessage::setHeader in drupal/core/vendor/guzzle/http/Guzzle/Http/Message/AbstractMessage.php
Set an HTTP header
AbstractMessage::setHeaders in drupal/core/vendor/guzzle/http/Guzzle/Http/Message/AbstractMessage.php
Overwrite all HTTP headers with the supplied array of headers
Request::changedHeader in drupal/core/vendor/guzzle/http/Guzzle/Http/Message/Request.php
Check to see if the modified headers need to reset any of the managed headers like cache-control
1 method overrides AbstractMessage::changedHeader()
Request::changedHeader in drupal/core/vendor/guzzle/http/Guzzle/Http/Message/Request.php
Check to see if the modified headers need to reset any of the managed headers like cache-control

File

drupal/core/vendor/guzzle/http/Guzzle/Http/Message/AbstractMessage.php, line 280

Class

AbstractMessage
Abstract HTTP request/response message

Namespace

Guzzle\Http\Message

Code

protected function changedHeader($header) {
  if ($header == 'cache-control') {
    $this
      ->parseCacheControlDirective();
  }
}