~canonical-sysadmins/wordpress/4.7.2

« back to all changes in this revision

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

  • Committer: Barry Price
  • Date: 2016-08-17 04:50:12 UTC
  • mfrom: (1.1.18 upstream)
  • Revision ID: barry.price@canonical.com-20160817045012-qfui81zhqnqv2ba9
Merge WP4.6 from upstream

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?php
 
2
/**
 
3
 * Exception for 417 Expectation Failed responses
 
4
 *
 
5
 * @package Requests
 
6
 */
 
7
 
 
8
/**
 
9
 * Exception for 417 Expectation Failed responses
 
10
 *
 
11
 * @package Requests
 
12
 */
 
13
class Requests_Exception_HTTP_417 extends Requests_Exception_HTTP {
 
14
        /**
 
15
         * HTTP status code
 
16
         *
 
17
         * @var integer
 
18
         */
 
19
        protected $code = 417;
 
20
 
 
21
        /**
 
22
         * Reason phrase
 
23
         *
 
24
         * @var string
 
25
         */
 
26
        protected $reason = 'Expectation Failed';
 
27
}
 
 
b'\\ No newline at end of file'