Requests_Exception_HTTP_511 WordPress Class

The HTTP 511 status code indicates that the client needs to authenticate with a proxy server before it can access the requested resource. The Requests_Exception_HTTP_511 class is used to indicate that a 511 error has occurred.

Requests_Exception_HTTP_511 #

Exception for 511 Network Authentication Required responses


Description

Top ↑

See also


Top ↑

Source

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

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

	/**
	 * Reason phrase
	 *
	 * @var string
	 */
	protected $reason = 'Network Authentication Required';
}

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.