mirror of
https://github.com/WordPress/WordPress.git
synced 2024-10-31 07:49:38 +01:00
29 lines
476 B
PHP
29 lines
476 B
PHP
|
<?php
|
||
|
/**
|
||
|
* Exception for 418 I'm A Teapot responses
|
||
|
*
|
||
|
* @see http://tools.ietf.org/html/rfc2324
|
||
|
* @package Requests
|
||
|
*/
|
||
|
|
||
|
/**
|
||
|
* Exception for 418 I'm A Teapot responses
|
||
|
*
|
||
|
* @see http://tools.ietf.org/html/rfc2324
|
||
|
* @package Requests
|
||
|
*/
|
||
|
class Requests_Exception_HTTP_418 extends Requests_Exception_HTTP {
|
||
|
/**
|
||
|
* HTTP status code
|
||
|
*
|
||
|
* @var integer
|
||
|
*/
|
||
|
protected $code = 418;
|
||
|
|
||
|
/**
|
||
|
* Reason phrase
|
||
|
*
|
||
|
* @var string
|
||
|
*/
|
||
|
protected $reason = "I'm A Teapot";
|
||
|
}
|