Requests_Exception_HTTP_415 WordPress Class

This class represents an HTTP 415 error. This error indicates that the server is refusing to service the request because the request entity is in a format not supported by the requested resource for the requested method.

Requests_Exception_HTTP_415 #

Exception for 415 Unsupported Media Type responses


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

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.