28 lines
409 B
PHP
28 lines
409 B
PHP
|
<?php
|
||
|
/**
|
||
|
* Exception for 405 Method Not Allowed responses
|
||
|
*
|
||
|
* @package Requests
|
||
|
*/
|
||
|
|
||
|
/**
|
||
|
* Exception for 405 Method Not Allowed responses
|
||
|
*
|
||
|
* @package Requests
|
||
|
*/
|
||
|
class Requests_Exception_HTTP_405 extends Requests_Exception_HTTP {
|
||
|
/**
|
||
|
* HTTP status code
|
||
|
*
|
||
|
* @var integer
|
||
|
*/
|
||
|
protected $code = 405;
|
||
|
|
||
|
/**
|
||
|
* Reason phrase
|
||
|
*
|
||
|
* @var string
|
||
|
*/
|
||
|
protected $reason = 'Method Not Allowed';
|
||
|
}
|