Searched refs:allowed_origin (Results 1 – 2 of 2) sorted by relevance
62 def __init__(self, allowed_method=None, allowed_origin=None, argument68 if allowed_origin is None:69 allowed_origin = []70 self.allowed_origin = allowed_origin92 self.allowed_origin.append(value)106 for allowed_origin in self.allowed_origin:107 s += '<AllowedOrigin>%s</AllowedOrigin>' % allowed_origin146 def add_rule(self, allowed_method, allowed_origin, argument196 if not isinstance(allowed_origin, (list, tuple)):197 allowed_origin = [allowed_origin][all …]
63 origins = zip(rule.allowed_origin, self.cfg[i].allowed_origin)