Home
last modified time | relevance | path

Searched refs:cors (Results 1 – 25 of 32) sorted by relevance

12

/external/chromium-trace/catapult/third_party/gsutil/gslib/commands/
Dcors.py166 cors = CorsTranslation.JsonCorsToMessageEntries(cors_txt)
167 if not cors:
168 cors = REMOVE_CORS_CONFIG
169 bucket_metadata = apitools_messages.Bucket(cors=cors)
185 if bucket_metadata.cors:
187 CorsTranslation.MessageEntriesToJson(bucket_metadata.cors))
Dls.py282 fields['cors_config'] = 'Present' if bucket.cors else 'None'
/external/chromium-trace/catapult/third_party/gsutil/gslib/
Dtranslation_helper.py542 cors = boto.gs.cors.Cors()
543 cors.cors = []
547 collection_elements.append((boto.gs.cors.MAXAGESEC,
552 method_elements.append((boto.gs.cors.METHOD, method))
553 collection_elements.append((boto.gs.cors.METHODS, method_elements))
557 origin_elements.append((boto.gs.cors.ORIGIN, origin))
558 collection_elements.append((boto.gs.cors.ORIGINS, origin_elements))
562 header_elements.append((boto.gs.cors.HEADER, header))
563 collection_elements.append((boto.gs.cors.HEADERS, header_elements))
564 cors.cors.append(collection_elements)
[all …]
Dboto_translation.py43 from boto.gs.cors import Cors
45 from boto.s3.cors import CORSConfiguration as S3Cors
245 if metadata.cors:
246 if metadata.cors == REMOVE_CORS_CONFIG:
247 metadata.cors = []
248 boto_cors = CorsTranslation.BotoCorsFromMessage(metadata.cors)
1141 cloud_api_bucket.cors = CorsTranslation.BotoCorsToMessage(boto_cors)
1587 cors = uri.get_cors(False)
1591 parsed_xml = xml.dom.minidom.parseString(cors.to_xml().encode(UTF8))
Dgcs_json_api.py419 if bucket_metadata.cors and bucket_metadata.cors == REMOVE_CORS_CONFIG:
420 bucket_metadata.cors = []
/external/nanohttpd/webserver/src/main/java/fi/iki/elonen/
DSimpleWebServer.java105 String cors = null; in main() local
119 cors = "*"; in main()
122 cors = args[i].substring(equalIdx + 1); in main()
171 ServerRunner.executeInstance(new SimpleWebServer(host, port, rootDirs, quiet, cors)); in main()
195 private final String cors; field in SimpleWebServer
199 public SimpleWebServer(String host, int port, File wwwroot, boolean quiet, String cors) { in SimpleWebServer() argument
200 this(host, port, Collections.singletonList(wwwroot), quiet, cors); in SimpleWebServer()
211 public SimpleWebServer(String host, int port, List<File> wwwroots, boolean quiet, String cors) { in SimpleWebServer() argument
214 this.cors = cors; in SimpleWebServer()
362 if (cors != null && Method.OPTIONS.equals(session.getMethod())) { in respond()
[all …]
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/tests/integration/gs/
Dtest_basic.py40 from boto.gs.cors import Cors
379 cors = re.sub(r'\s', '', bucket.get_cors().to_xml())
380 self.assertEqual(cors, CORS_EMPTY)
383 cors = re.sub(r'\s', '', bucket.get_cors().to_xml())
384 self.assertEqual(cors, CORS_DOC)
393 cors = re.sub(r'\s', '', uri.get_cors().to_xml())
394 self.assertEqual(cors, CORS_EMPTY)
400 cors = re.sub(r'\s', '', uri.get_cors().to_xml())
401 self.assertEqual(cors, CORS_DOC)
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/boto/gs/
Dcors.py42 self.cors = []
112 self.cors.append(self.collections)
152 for collections in self.cors:
Dbucket.py34 from boto.gs.cors import Cors
572 cors = Cors()
573 h = handler.XmlHandler(cors, self)
575 return cors
580 def set_cors(self, cors, headers=None): argument
587 'PUT', get_utf8_value(self.name), data=get_utf8_value(cors),
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/tests/unit/s3/
Dtest_cors_configuration.py4 from boto.s3.cors import CORSConfiguration
/external/nanohttpd/src/site/markdown/
Dindex.md133 * Simple [CORS](https://en.wikipedia.org/wiki/Cross-origin_resource_sharing) support via `--cors` p…
138 * `--cors`: activates CORS support, `Access-Control-Allow-Origin` will be set to `*`
139 * `--cors=some_value`: `Access-Control-Allow-Origin` will be set to `some_value`.
144 * `--cors=http://appOne.company.com`
145 * `--cors="http://appOne.company.com, http://appTwo.company.com"`: note the double quotes so that t…
/external/nanohttpd/
DREADME.md133 * Simple [CORS](https://en.wikipedia.org/wiki/Cross-origin_resource_sharing) support via `--cors` p…
138 * `--cors`: activates CORS support, `Access-Control-Allow-Origin` will be set to `*`
139 * `--cors=some_value`: `Access-Control-Allow-Origin` will be set to `some_value`.
144 * `--cors=http://appOne.company.com`
145 * `--cors="http://appOne.company.com, http://appTwo.company.com"`: note the double quotes so that t…
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/tests/integration/s3/
Dtest_cors.py33 from boto.s3.cors import CORSConfiguration
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/boto/
Dstorage_uri.py427 cors = bucket.get_cors(headers)
428 self.check_response(cors, 'cors', self.uri)
429 return cors
431 def set_cors(self, cors, validate=False, headers=None): argument
435 bucket.set_cors(cors.to_xml(), headers)
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/boto/s3/
Dbucket.py41 from boto.s3.cors import CORSConfiguration
1667 cors = CORSConfiguration()
1668 h = handler.XmlHandler(cors, self)
1670 return cors
/external/icu/icu4c/source/data/lang/
Dfur.txt39 co{"cors"}
Drm.txt83 co{"cors"}
Dca.txt123 co{"cors"}
/external/chromium-trace/catapult/third_party/gsutil/gslib/third_party/storage_apitools/
Dstorage_v1_messages.py202 cors = messages.MessageField('CorsValueListEntry', 2, repeated=True) variable in Bucket
/external/chromium-trace/catapult/third_party/gsutil/third_party/apitools/samples/storage_sample/storage/
Dstorage_v1_messages.py190 cors = _messages.MessageField('CorsValueListEntry', 2, repeated=True) variable in Bucket
/external/chromium-trace/catapult/third_party/gsutil/
DCHANGES.md489 - The Google Cloud Storage configuration data supported by the acl, cors,
1613 help cors" for details.
/external/autotest/client/site_tests/video_VimeoVideo/
Djquery-2.1.3.min.js4 …for(var a in Cc)Cc[a]()}),k.cors=!!Ec&&"withCredentials"in Ec,k.ajax=Ec=!!Ec,n.ajaxTransport(funct…
/external/autotest/client/site_tests/video_GlitchDetection/
Djquery-2.1.3.min.js4 …for(var a in Cc)Cc[a]()}),k.cors=!!Ec&&"withCredentials"in Ec,k.ajax=Ec=!!Ec,n.ajaxTransport(funct…
/external/chromium-trace/catapult/experimental/heatmap/
Djquery.min.js6 …defined}),x.support.cors=!!gn&&"withCredentials"in gn,x.support.ajax=gn=!!gn,x.ajaxTransport(funct…
/external/chromium-trace/catapult/third_party/jquery/
Djquery-2.1.4.min.js4 …for(var a in Cb)Cb[a]()}),k.cors=!!Eb&&"withCredentials"in Eb,k.ajax=Eb=!!Eb,n.ajaxTransport(funct…

12