diff options
Diffstat (limited to 'wp-includes/Requests/src/Exception/Http/Status417.php')
-rw-r--r-- | wp-includes/Requests/src/Exception/Http/Status417.php | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/wp-includes/Requests/src/Exception/Http/Status417.php b/wp-includes/Requests/src/Exception/Http/Status417.php new file mode 100644 index 0000000..4adba9a --- /dev/null +++ b/wp-includes/Requests/src/Exception/Http/Status417.php @@ -0,0 +1,31 @@ +<?php +/** + * Exception for 417 Expectation Failed responses + * + * @package Requests\Exceptions + */ + +namespace WpOrg\Requests\Exception\Http; + +use WpOrg\Requests\Exception\Http; + +/** + * Exception for 417 Expectation Failed responses + * + * @package Requests\Exceptions + */ +final class Status417 extends Http { + /** + * HTTP status code + * + * @var integer + */ + protected $code = 417; + + /** + * Reason phrase + * + * @var string + */ + protected $reason = 'Expectation Failed'; +} |