Requests_Exception_HTTP_415

Advertisement

Summery Summery

Exception for 415 Unsupported Media Type responses

Syntax Syntax

Requests_Exception_HTTP_415

Source Source

File: wp-includes/Requests/Exception/HTTP/415.php

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';
}

Advertisement

Advertisement

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.