pass along headers on failures, too