'Cycle through available responses, but only once.
Any subsequent requests will receive the last response'

def get_next_entry(self, method, info, request):

    if (method not in self.current_entries):
        self.current_entries[method] = 0
    entries_for_method = [e for e in self.entries if (e.method == method)]
    if (self.current_entries[method] >= len(entries_for_method)):
        self.current_entries[method] = (-1)
    if ((not self.entries) or (not entries_for_method)):
        raise ValueError((u'I    have    no    entries    for    method    %s:    %s' % (method, self)))
    entry = entries_for_method[self.current_entries[method]]
    if (self.current_entries[method] != (-1)):
        self.current_entries[method] += 1
    entry.info = info
    entry.request = request
    return entry
