"Fossies" - the Fresh Open Source Software Archive

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

    1 <?php
    2 /**
    3  * Exception for 431 Request Header Fields Too Large responses
    4  *
    5  * @see https://tools.ietf.org/html/rfc6585
    6  * @package Requests
    7  */
    8 
    9 /**
   10  * Exception for 431 Request Header Fields Too Large responses
   11  *
   12  * @see https://tools.ietf.org/html/rfc6585
   13  * @package Requests
   14  */
   15 class Requests_Exception_HTTP_431 extends Requests_Exception_HTTP {
   16     /**
   17      * HTTP status code
   18      *
   19      * @var integer
   20      */
   21     protected $code = 431;
   22 
   23     /**
   24      * Reason phrase
   25      *
   26      * @var string
   27      */
   28     protected $reason = 'Request Header Fields Too Large';
   29 }