Retrieve a single header by name from the raw response.
<?php wp_remote_retrieve_header( $response, $header ); ?>
$response = wp_remote_get('http://www.foo.com/file.txt'); $last_modified = wp_remote_retrieve_header( $response, 'last-modified' );
$last_modified will contain the value of the HTTP header last-modified
Since: 2.7.0
wp_remote_retrieve_header() is located in wp-includes/http.php