~canonical-sysadmins/wordpress/4.8.1

« back to all changes in this revision

Viewing changes to wp-includes/Requests/Exception/HTTP/418.php

  • Committer: Barry Price
  • Date: 2016-08-17 04:49:28 UTC
  • mto: This revision was merged to the branch mainline in revision 22.
  • Revision ID: barry.price@canonical.com-20160817044928-viijiwb4tl8jwzmp
new upstream release 4.6

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?php
 
2
/**
 
3
 * Exception for 418 I'm A Teapot responses
 
4
 *
 
5
 * @see https://tools.ietf.org/html/rfc2324
 
6
 * @package Requests
 
7
 */
 
8
 
 
9
/**
 
10
 * Exception for 418 I'm A Teapot responses
 
11
 *
 
12
 * @see https://tools.ietf.org/html/rfc2324
 
13
 * @package Requests
 
14
 */
 
15
class Requests_Exception_HTTP_418 extends Requests_Exception_HTTP {
 
16
        /**
 
17
         * HTTP status code
 
18
         *
 
19
         * @var integer
 
20
         */
 
21
        protected $code = 418;
 
22
 
 
23
        /**
 
24
         * Reason phrase
 
25
         *
 
26
         * @var string
 
27
         */
 
28
        protected $reason = "I'm A Teapot";
 
29
}
 
 
b'\\ No newline at end of file'