Get all headers 3992

Thanks @chrisdickinson for the pointer to this bug.
I think there might be two too many newlines here.