public function Response::getAllow

Get the Allow HTTP header

Return value

string|null Returns valid actions for a specified resource. To be used for a 405 Method not allowed.

File

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

Class

Response
Guzzle HTTP response object

Namespace

Guzzle\Http\Message

Code

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