diff options
Diffstat (limited to 'includes/vendor/rmccue/requests/library/Requests/Exception/HTTP/428.php')
| -rw-r--r-- | includes/vendor/rmccue/requests/library/Requests/Exception/HTTP/428.php | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/includes/vendor/rmccue/requests/library/Requests/Exception/HTTP/428.php b/includes/vendor/rmccue/requests/library/Requests/Exception/HTTP/428.php new file mode 100644 index 0000000..469e954 --- /dev/null +++ b/includes/vendor/rmccue/requests/library/Requests/Exception/HTTP/428.php @@ -0,0 +1,29 @@ +<?php +/** + * Exception for 428 Precondition Required responses + * + * @see https://tools.ietf.org/html/rfc6585 + * @package Requests + */ + +/** + * Exception for 428 Precondition Required responses + * + * @see https://tools.ietf.org/html/rfc6585 + * @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'; +}
\ No newline at end of file |