Requests_Exception_HTTP_405

Advertisement

Summery Summery

Exception for 405 Method Not Allowed responses

Syntax Syntax

Requests_Exception_HTTP_405

Source Source

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

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

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

Advertisement

Advertisement

Leave a Reply