Lines Matching refs:agent
84 We allow that a user-agent: line is not preceded by
89 # 1: saw user-agent line
115 if line[0] == "user-agent":
147 # "This directive is independent of the user-agent line,
166 # search for given user agent matches
180 # agent not found ==> access granted
243 for agent in self.useragents:
244 ret.append(f"User-agent: {agent}")
254 """check if this entry applies to the specified agent"""
257 for agent in self.useragents:
258 if agent == '*':
259 # we have the catch-all agent
261 agent = agent.lower()
262 if agent in useragent:
268 - our agent applies to this entry