Requests_Exception_HTTP_505 WordPress Class

This class is a custom exception class for the WordPress Requests library. It extends the default WordPress HTTP_Exception class and provides custom error handling for HTTP status code 505 (HTTP Version Not Supported).

Requests_Exception_HTTP_505 #

Exception for 505 HTTP Version Not Supported responses


Source

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

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

	/**
	 * Reason phrase
	 *
	 * @var string
	 */
	protected $reason = 'HTTP Version Not Supported';
}

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.