Requests_Exception_HTTP_305 WordPress Class

The Requests_Exception_HTTP_305 Wordpress class is an exception class for the HTTP 305 response code. This response code indicates that the requested resource has been assigned a new permanent URI and any future references to this resource should be made using that URI. This exception class can be used to catch and handle any HTTP 305 responses from the Wordpress API.

Requests_Exception_HTTP_305 #

Exception for 305 Use Proxy responses


Source

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

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

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

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.