mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-28 03:57:46 +01:00
27 lines
390 B
PHP
27 lines
390 B
PHP
|
<?php
|
||
|
/**
|
||
|
* Exception for 401 Unauthorized responses
|
||
|
*
|
||
|
* @package Requests
|
||
|
*/
|
||
|
|
||
|
/**
|
||
|
* Exception for 401 Unauthorized responses
|
||
|
*
|
||
|
* @package Requests
|
||
|
*/
|
||
|
class Requests_Exception_HTTP_401 extends Requests_Exception_HTTP {
|
||
|
/**
|
||
|
* HTTP status code
|
||
|
*
|
||
|
* @var integer
|
||
|
*/
|
||
|
protected $code = 401;
|
||
|
|
||
|
/**
|
||
|
* Reason phrase
|
||
|
*
|
||
|
* @var string
|
||
|
*/
|
||
|
protected $reason = 'Unauthorized';
|
||
|
}
|