'Applies literal match condition to responses.'

def ContentsLiteralMatchCondition(self, response, condition_options, condition_index):

    if (not (self.args.process_non_regular_files or stat.S_ISREG(response.stat_entry.st_mode))):
        return
    options = condition_options.contents_literal_match
    grep_spec = rdf_client.GrepSpec(target=response.stat_entry.pathspec, literal=options.literal, mode=options.mode, start_offset=options.start_offset, length=options.length, bytes_before=options.bytes_before, bytes_after=options.bytes_after, xor_in_key=options.xor_in_key, xor_out_key=options.xor_out_key)
    self.CallClient(server_stubs.Grep, request=grep_spec, next_state='ProcessGrep', request_data=dict(original_result=response, condition_index=(condition_index + 1)))
