"Fossies" - the Fresh Open Source Software Archive

Member "wordpress/wp-includes/Requests/Exception/HTTP/417.php" (11 May 2021, 409 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 "417.php" see the Fossies "Dox" file reference documentation.

    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 }