2020-07-17 15:59:36 +02:00
|
|
|
<?php
|
|
|
|
|
/**
|
|
|
|
|
* Exception for 511 Network Authentication Required responses
|
|
|
|
|
*
|
|
|
|
|
* @see https://tools.ietf.org/html/rfc6585
|
|
|
|
|
* @package Requests
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Exception for 511 Network Authentication Required responses
|
|
|
|
|
*
|
|
|
|
|
* @see https://tools.ietf.org/html/rfc6585
|
|
|
|
|
* @package Requests
|
|
|
|
|
*/
|
|
|
|
|
class Requests_Exception_HTTP_511 extends Requests_Exception_HTTP {
|
|
|
|
|
/**
|
|
|
|
|
* HTTP status code
|
|
|
|
|
*
|
|
|
|
|
* @var integer
|
|
|
|
|
*/
|
|
|
|
|
protected $code = 511;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Reason phrase
|
|
|
|
|
*
|
|
|
|
|
* @var string
|
|
|
|
|
*/
|
|
|
|
|
protected $reason = 'Network Authentication Required';
|
2022-11-09 14:14:13 +00:00
|
|
|
}
|