Requests_Exception_HTTP_501 WordPress Class

The Requests_Exception_HTTP_501 class is used to indicate that a server has encountered an error when trying to process a request. This can happen when the server is unable to understand the request due to a syntax error, or when the server is unable to fulfill the request because it does not have the necessary resources.

Requests_Exception_HTTP_501 #

Exception for 501 Not Implemented responses


Source

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

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

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

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.