'Iterate through the request prompts dict and return the response and
original request if we find a match'

def _get_prompt_response(self):

    for tup in env.prompts.iteritems():
        if _endswith(self.capture, tup[0]):
            return tup
    return (None, None)
