Get all headers 3992

Thanks @chrisdickinson for the pointer to this bug.