2016-05-13 06:42:28 +02:00
|
|
|
<?php
|
|
|
|
/**
|
|
|
|
* Exception for 511 Network Authentication Required responses
|
|
|
|
*
|
2016-06-10 06:50:33 +02:00
|
|
|
* @see https://tools.ietf.org/html/rfc6585
|
2016-05-13 06:42:28 +02:00
|
|
|
* @package Requests
|
|
|
|
*/
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Exception for 511 Network Authentication Required responses
|
|
|
|
*
|
2016-06-10 06:50:33 +02:00
|
|
|
* @see https://tools.ietf.org/html/rfc6585
|
2016-05-13 06:42:28 +02:00
|
|
|
* @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';
|
|
|
|
}
|