Requests_Exception_HTTP_410 WordPress Class

The HTTP_410 class is a custom Exception class for the Requests library. It is used to signal that a particular HTTP status code is returned by a server. In this case, the status code is 410, which indicates that the requested resource is no longer available. This class is derived from the Requests_Exception class.

Requests_Exception_HTTP_410 #

Exception for 410 Gone responses


Source

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

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

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

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.