Parsed: 130722
<?php /** * HTTP API: WP_Http class * * @package WordPress * @subpackage HTTP * @since 2.7.0 */ if ( ! class_exists( 'WpOrg\Requests\Autoload' ) ) { require ABSPATH . WPINC . '/Requests/src/Autoload.php'; WpOrg\Requests\Autoload::register(); WpOrg\Requests\Requests::set_certificate_path( ABSPATH . WPINC . '/certificates/ca-bundle.crt' ); } #[AllowDynamicProperties] /* class WP_Http */ /* function WP_Http::request() – Send an HTTP request to a URI. */ /* function WP_Http::normalize_cookies() – Normalizes cookies for using in Requests. */ /* function WP_Http::browser_redirect_compatibility() – Match redirect behaviour to browser handling. */ /* function WP_Http::validate_redirects() – Validate redirected URLs. */ /* function WP_Http::_get_first_available_transport() – Tests which transports are capable of supporting the request. */ /* function WP_Http::_dispatch_request() – Dispatches a HTTP request to a supporting transport. */ /* function WP_Http::post() – Uses the POST HTTP method. */ /* function WP_Http::get() – Uses the GET HTTP method. */ /* function WP_Http::head() – Uses the HEAD HTTP method. */ /* function WP_Http::processResponse() – Parses the responses and splits the parts into headers and body. */ /* function WP_Http::processHeaders() – Transforms header string into an array. */ /* function WP_Http::buildCookieHeader() – Takes the arguments for a ::request() and checks for the cookie array. */ /* function WP_Http::chunkTransferDecode() – Decodes chunk transfer-encoding, based off the HTTP 1.1 specification. */ /* function WP_Http::block_request() – Determines whether an HTTP API request to the given URL should be blocked. */ /* function WP_Http::parse_url() – Used as a wrapper for PHP’s parse_url() function that handles edgecases in < PHP 5.4.7. */ /* function WP_Http::make_absolute_url() – Converts a relative URL to an absolute URL relative to a given URL. */ /* function WP_Http::handle_redirects() – Handles an HTTP redirect and follows it if appropriate. */ /* function WP_Http::is_ip_address() – Determines if a specified string represents an IP address or not. */