"Fossies" - the Fresh Open Source Software Archive

Member "wordpress/wp-includes/Requests/Exception/HTTP/400.php" (11 May 2021, 388 Bytes) of package /linux/www/wordpress-5.8.1.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) PHP source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file. For more information about "400.php" see the Fossies "Dox" file reference documentation.

    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 }