Home
last modified time | relevance | path

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

/external/python/apitools/apitools/base/py/
Dbase_api.py456 url_builder = _UrlBuilder.FromUrl(url)
458 url_builder.query_params['key'] = self.global_params.key
459 return url_builder.url
586 def __FinalizeRequest(self, http_request, url_builder): argument
594 http_request.body = url_builder.query
595 url_builder.query_params = {}
596 http_request.url = url_builder.url
671 url_builder = _UrlBuilder(
673 url_builder.query_params = self.__ConstructQueryParams(
679 upload.ConfigureRequest(upload_config, http_request, url_builder)
[all …]
Dtransfer_test.py280 url_builder = base_api._UrlBuilder('http://www.uploads.com')
292 upload.ConfigureRequest(upload_config, http_request, url_builder)
294 'multipart', url_builder.query_params['uploadType'])
308 upload.ConfigureRequest(upload_config, http_request, url_builder)
309 self.assertEqual(url_builder.query_params['uploadType'], 'media')
322 self.url_builder = base_api._UrlBuilder('http://www.uploads.com')
445 upload.ConfigureRequest(upload_config, self.request, self.url_builder)
448 self.url_builder.query_params['uploadType'], 'multipart')
474 upload.ConfigureRequest(upload_config, self.request, self.url_builder)
476 self.assertEqual(self.url_builder.query_params['uploadType'], 'media')
Dtransfer.py278 def ConfigureRequest(self, http_request, url_builder): argument
279 url_builder.query_params['alt'] = 'media'
744 def ConfigureRequest(self, upload_config, http_request, url_builder): argument
760 url_builder.relative_path = upload_config.simple_path
762 url_builder.query_params['uploadType'] = 'multipart'
765 url_builder.query_params['uploadType'] = 'media'
785 url_builder.relative_path = upload_config.resumable_path
786 url_builder.query_params['uploadType'] = 'resumable'