Home
last modified time | relevance | path

Searched refs:allowed_origin (Results 1 – 2 of 2) sorted by relevance

/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/boto/s3/
Dcors.py62 def __init__(self, allowed_method=None, allowed_origin=None, argument
68 if allowed_origin is None:
69 allowed_origin = []
70 self.allowed_origin = allowed_origin
92 self.allowed_origin.append(value)
106 for allowed_origin in self.allowed_origin:
107 s += '<AllowedOrigin>%s</AllowedOrigin>' % allowed_origin
146 def add_rule(self, allowed_method, allowed_origin, argument
196 if not isinstance(allowed_origin, (list, tuple)):
197 allowed_origin = [allowed_origin]
[all …]
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/tests/integration/s3/
Dtest_cors.py63 origins = zip(rule.allowed_origin, self.cfg[i].allowed_origin)