Getting headers and status code while using fetch_feed

fetch_feed() returns a SimplePie object. From a quick glance at its source, it looks like you can use

$feed->status_code     // on the public API
$feed->data['headers'] // technically private

tech