Home
last modified time | relevance | path

Searched refs:allowed_method (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
65 if allowed_method is None:
66 allowed_method = []
67 self.allowed_method = allowed_method
90 self.allowed_method.append(value)
104 for allowed_method in self.allowed_method:
105 s += '<AllowedMethod>%s</AllowedMethod>' % allowed_method
146 def add_rule(self, allowed_method, allowed_origin, argument
194 if not isinstance(allowed_method, (list, tuple)):
195 allowed_method = [allowed_method]
[all …]
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/tests/integration/s3/
Dtest_cors.py60 methods = zip(rule.allowed_method, self.cfg[i].allowed_method)