Requests_Exception_HTTP_406 WordPress Class

The HTTP 406 Not Acceptable is an HTTP response status code indicating that the client has requested a resource that is not able to be served by the server due to the resource's media type or other characteristics, as specified by the client's Accept HTTP request header field.

Requests_Exception_HTTP_406 #

Exception for 406 Not Acceptable responses


Source

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

class Requests_Exception_HTTP_406 extends Requests_Exception_HTTP {
	/**
	 * HTTP status code
	 *
	 * @var integer
	 */
	protected $code = 406;

	/**
	 * Reason phrase
	 *
	 * @var string
	 */
	protected $reason = 'Not Acceptable';
}

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.