public function Response::getLocation

Get the Location HTTP header

Return value

string|null Used in redirection, or when a new resource has been created.

File

drupal/core/vendor/guzzle/http/Guzzle/Http/Message/Response.php, line 589

Class

Response
Guzzle HTTP response object

Namespace

Guzzle\Http\Message

Code

public function getLocation() {
  return $this
    ->getHeader('Location', true);
}