Support headers when send errors