File: wp-includes/class-wp-http.php
-
Validate redirected URLs.
-
Normalizes cookies for using in Requests.
-
Match redirect behavior to browser handling.
-
methodWP_Http::parse_url()
Used as a wrapper for PHP’s parse_url() function that handles edgecases in < PHP 5.4.7.
-
methodWP_Http::block_request()
Determines whether an HTTP API request to the given URL should be blocked.
-
Filters whether to block local HTTP API requests.
-
Converts a relative URL to an absolute URL relative to a given URL.
-
Handles an HTTP redirect and follows it if appropriate.
-
methodWP_Http::is_ip_address()
Determines if a specified string represents an IP address or not.
-
hookhttps_ssl_verify
Filters whether SSL should be verified for non-local requests.
-
Dispatches a HTTP request to a supporting transport.
-
hookhttp_api_debug
Fires after an HTTP API response is received and before the response is returned.
-
hookhttp_response
Filters a successful HTTP API response immediately before the response is returned.
-
methodWP_Http::post()
Uses the POST HTTP method.
-
methodWP_Http::get()
Uses the GET HTTP method.
-
Filters the user agent value sent with an HTTP request.
-
methodWP_Http::head()
Uses the HEAD HTTP method.
-
Filters whether to pass URLs through wp_http_validate_url() in an HTTP request.
-
Parses the responses and splits the parts into headers and body.
-
Filters the arguments used in an HTTP request.
-
Transforms header string into an array.
-
hookpre_http_request
Filters the preemptive return value of an HTTP request.
-
Takes the arguments for a ::request() and checks for the cookie array.
-
Tests which transports are capable of supporting the request.
-
Decodes chunk transfer-encoding, based off the HTTP 1.1 specification.
-
Filters which HTTP transports are available and in what order.
-
methodWP_Http::request()
Send an HTTP request to a URI.
-
Filters the timeout value for an HTTP request.
-
Filters the number of redirects allowed during an HTTP request.