Home
last modified time | relevance | path

Searched refs:url_builder (Results 1 – 3 of 3) sorted by relevance

/external/chromium-trace/catapult/third_party/gsutil/third_party/apitools/apitools/base/py/
Dbase_api.py430 url_builder = _UrlBuilder.FromUrl(url)
432 url_builder.query_params['key'] = self.global_params.key
433 return url_builder.url
544 def __FinalizeRequest(self, http_request, url_builder): argument
552 http_request.body = url_builder.query
553 url_builder.query_params = {}
554 http_request.url = url_builder.url
624 url_builder = _UrlBuilder(
626 url_builder.query_params = self.__ConstructQueryParams(
632 upload.ConfigureRequest(upload_config, http_request, url_builder)
[all …]
Dtransfer_test.py205 url_builder = base_api._UrlBuilder('http://www.uploads.com')
217 upload.ConfigureRequest(upload_config, http_request, url_builder)
218 self.assertEqual(url_builder.query_params['uploadType'], 'multipart')
232 upload.ConfigureRequest(upload_config, http_request, url_builder)
233 self.assertEqual(url_builder.query_params['uploadType'], 'media')
Dtransfer.py263 def ConfigureRequest(self, http_request, url_builder): argument
264 url_builder.query_params['alt'] = 'media'
690 def ConfigureRequest(self, upload_config, http_request, url_builder): argument
706 url_builder.relative_path = upload_config.simple_path
708 url_builder.query_params['uploadType'] = 'multipart'
711 url_builder.query_params['uploadType'] = 'media'
714 url_builder.relative_path = upload_config.resumable_path
715 url_builder.query_params['uploadType'] = 'resumable'