mirror of
https://github.com/WordPress/WordPress.git
synced 2024-08-28 08:39:37 +02:00
27 lines
420 B
PHP
27 lines
420 B
PHP
|
<?php
|
||
|
/**
|
||
|
* Exception for 415 Unsupported Media Type responses
|
||
|
*
|
||
|
* @package Requests
|
||
|
*/
|
||
|
|
||
|
/**
|
||
|
* Exception for 415 Unsupported Media Type responses
|
||
|
*
|
||
|
* @package Requests
|
||
|
*/
|
||
|
class Requests_Exception_HTTP_415 extends Requests_Exception_HTTP {
|
||
|
/**
|
||
|
* HTTP status code
|
||
|
*
|
||
|
* @var integer
|
||
|
*/
|
||
|
protected $code = 415;
|
||
|
|
||
|
/**
|
||
|
* Reason phrase
|
||
|
*
|
||
|
* @var string
|
||
|
*/
|
||
|
protected $reason = 'Unsupported Media Type';
|
||
|
}
|