home *** CD-ROM | disk | FTP | other *** search
/ HTML Examples / WP.iso / wordpress2 / wp-includes / Requests / Exception / HTTP / 511.php < prev    next >
Encoding:
PHP Script  |  2016-06-09  |  535 b   |  29 lines

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