2016-05-13 00:42:28 -04:00
|
|
|
<?php
|
|
|
|
/**
|
|
|
|
* Exception for 428 Precondition Required responses
|
|
|
|
*
|
2016-06-10 00:50:33 -04:00
|
|
|
* @see https://tools.ietf.org/html/rfc6585
|
2016-05-13 00:42:28 -04:00
|
|
|
* @package Requests
|
|
|
|
*/
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Exception for 428 Precondition Required responses
|
|
|
|
*
|
2016-06-10 00:50:33 -04:00
|
|
|
* @see https://tools.ietf.org/html/rfc6585
|
2016-05-13 00:42:28 -04:00
|
|
|
* @package Requests
|
|
|
|
*/
|
|
|
|
class Requests_Exception_HTTP_428 extends Requests_Exception_HTTP {
|
|
|
|
/**
|
|
|
|
* HTTP status code
|
|
|
|
*
|
|
|
|
* @var integer
|
|
|
|
*/
|
|
|
|
protected $code = 428;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Reason phrase
|
|
|
|
*
|
|
|
|
* @var string
|
|
|
|
*/
|
|
|
|
protected $reason = 'Precondition Required';
|
|
|
|
}
|