Requests_Exception_HTTP_406

Advertisement

Summery Summery

Exception for 406 Not Acceptable responses

Syntax Syntax

Requests_Exception_HTTP_406

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

Advertisement

Advertisement

Leave a Reply

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