~canonical-sysadmins/wordpress/4.8.1

« back to all changes in this revision

Viewing changes to wp-includes/Requests/Exception/HTTP/400.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 400 Bad Request responses
 
4
 *
 
5
 * @package Requests
 
6
 */
 
7
 
 
8
/**
 
9
 * Exception for 400 Bad Request responses
 
10
 *
 
11
 * @package Requests
 
12
 */
 
13
class Requests_Exception_HTTP_400 extends Requests_Exception_HTTP {
 
14
        /**
 
15
         * HTTP status code
 
16
         *
 
17
         * @var integer
 
18
         */
 
19
        protected $code = 400;
 
20
 
 
21
        /**
 
22
         * Reason phrase
 
23
         *
 
24
         * @var string
 
25
         */
 
26
        protected $reason = 'Bad Request';
 
27
}
 
 
b'\\ No newline at end of file'