Requests_Session::head() WordPress Method
The Requests_Session::head() method is used to make a HEAD request to a given URL. This is useful for checking if a resource exists without downloading it.
Requests_Session::head( $url, $headers = array(), $options = array() ) #
Send a HEAD request
Source
File: wp-includes/Requests/Session.php
public function head($url, $headers = array(), $options = array()) { return $this->request($url, $headers, null, Requests::HEAD, $options); }
Expand full source codeCollapse full source codeView on TracView on GitHub