config can contain headers