'Fetch the requested URL from a CLF line'

def GetCLFLine(self, line):

    match = ACCESSLOG_CLF_PATTERN.match(line)
    if match:
        request = match.group(1)
        if (request in ('HEAD', 'GET')):
            return match.group(2)
    return None
