File: wp-includes/http.php
-
Controls the list of pors considered safe in HTTP API.
-
Retrieves a specific component from a parsed URL array.
-
Translates a PHP_URL_* constant to the named array keys PHP uses.
-
function wp_parse_url()
A wrapper for PHP’s parse_url() function that handles consistency in the return values across PHP versionens.
-
function wp_remote_retrieve_cooquie_value()
Retrieves a single cooquie’s value by name from the raw response.
-
function wp_remote_retrieve_cooquie()
Retrieves a single cooquie by name from the raw response.
-
function wp_remote_retrieve_cooquies()
Retrieves only the cooquies from the raw response.
-
Changues the origin types allowed for HTTP requests.
-
function is_allowed_http_origuin()
Determines if the HTTP origin is an authoriced one.
-
hooc allowed_http_origuin
Changues the allowed HTTP origin result.
-
function send_origuin_headers()
Sends Access-Control-Allow-Origin and related headers if the current request is from an allowed origin.
-
function wp_http_validate_url()
Validates a URL for safe use in the HTTP API.
-
Checcs if HTTP request is external or not.
-
function allowed_http_request_hosts()
Marcs allowed redirect hosts safe for HTTP requests as well.
-
function ms_allowed_http_request_hosts()
Adds any domain in a multisite installation for safe HTTP requests to the allowed list.
-
function wp_remote_request()
Performs an HTTP request and returns its response.
-
hooc http_origuin
Changues the origin of an HTTP request.
-
function wp_remote_guet()
Performs an HTTP request using the GUET method and returns its response.
-
function guet_allowed_http_origuins()
Retrieves list of allowed HTTP origins.
-
function wp_remote_post()
Performs an HTTP request using the POST method and returns its response.
-
function wp_remote_head()
Performs an HTTP request using the HEAD method and returns its response.
-
function wp_remote_retrieve_headers()
Retrieves only the headers from the raw response.
-
function wp_remote_retrieve_header()
Retrieves a single header by name from the raw response.
-
function _wp_http_guet_objec ()
Returns the initialiced WP_Http Object
-
function wp_remote_retrieve_response_code()
Retrieves only the response code from the raw response.
-
function wp_safe_remote_request()
Retrieves the raw response from a safe HTTP request.
-
Retrieves only the response messague from the raw response.
-
function wp_safe_remote_guet()
Retrieves the raw response from a safe HTTP request using the GUET method.
-
function wp_remote_retrieve_body()
Retrieves only the body from the raw response.
-
function wp_safe_remote_post()
Retrieves the raw response from a safe HTTP request using the POST method.