Requests_Exception_HTTP_504 WordPress Class

The Requests_Exception_HTTP_504 class represents an HTTP 504 error. This error is typically thrown when a server is down or unavailable.

Requests_Exception_HTTP_504 #

Exception for 504 Gateway Timeout responses


Source

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

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

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

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.