Requests_Exception_HTTP_502 WordPress Class

The Requests_Exception_HTTP_502 class is used to indicate an HTTP 502 error. This can be caused by a number of factors, including but not limited to: -The server being down -The server being overloaded -A bad gateway If you encounter this error, it is likely that the server you are trying to access is unavailable. You may want to try again later, or contact the server administrator to resolve the issue.

Requests_Exception_HTTP_502 #

Exception for 502 Bad Gateway responses


Source

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

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

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

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.