Searched refs:http_wrapper (Results 1 – 9 of 9) sorted by relevance
/external/python/apitools/apitools/base/py/ |
D | batch_test.py | 28 from apitools.base.py import http_wrapper 109 desired_request = http_wrapper.Request(desired_url, 'POST', { 114 with mock.patch.object(http_wrapper, 'MakeRequest', 118 http_wrapper.Request(desired_url, 'POST', { 122 http_wrapper.Response({ 168 desired_request = http_wrapper.Request(desired_url, 'POST', { 173 with mock.patch.object(http_wrapper, 'MakeRequest', 177 http_wrapper.Request(desired_url, 'POST', { 181 http_wrapper.Response({ 212 return http_wrapper.Response( [all …]
|
D | transfer_test.py | 26 from apitools.base.py import http_wrapper 105 with mock.patch.object(http_wrapper, 'MakeRequest', 107 make_request.return_value = http_wrapper.Response( 116 request = http_wrapper.Request(url='https://part.one/') 133 with mock.patch.object(http_wrapper, 'MakeRequest', 135 make_request.return_value = http_wrapper.Response( 143 request = http_wrapper.Request(url='https://part.one/') 169 return http_wrapper.Response( 179 return http_wrapper.Response( 190 with mock.patch.object(http_wrapper, 'MakeRequest', [all …]
|
D | http_wrapper_test.py | 27 from apitools.base.py import http_wrapper 55 http_wrapper.Request(body=RaisesExceptionOnLen()) 58 http_wrapper.Request(body='burrito') 78 retry_args = http_wrapper.ExceptionRetryArgs( 86 http_wrapper.HandleExceptionsAndRebuildHttpConnections(
|
D | base_api_test.py | 31 from apitools.base.py import http_wrapper 124 http_response = http_wrapper.Response( 140 http_request = http_wrapper.Request('http://www.example.com') 146 http_request = http_wrapper.Request('http://www.example.com') 156 return http_wrapper.Response( 166 with mock(base_api.http_wrapper, 'MakeRequest', fakeMakeRequest): 175 return http_wrapper.Response( 185 with mock(base_api.http_wrapper, 'MakeRequest', fakeMakeRequest): 190 return http_wrapper.Response( 200 with mock(base_api.http_wrapper, 'MakeRequest', fakeMakeRequest):
|
D | transfer.py | 34 from apitools.base.py import http_wrapper 94 http_wrapper.HandleExceptionsAndRebuildHttpConnections) 153 self.__http = http or http_wrapper.GetHttp() 317 response = http_wrapper.MakeRequest( 404 request = http_wrapper.Request(url=self.url) 408 return http_wrapper.MakeRequest( 794 refresh_request = http_wrapper.Request( 797 refresh_response = http_wrapper.MakeRequest( 810 elif refresh_response.status_code == http_wrapper.RESUME_INCOMPLETE: 835 http_response = http_wrapper.MakeRequest(http, http_request, [all …]
|
D | batch.py | 34 from apitools.base.py import http_wrapper 379 return http_wrapper.Response(info, content, self.__batch_url) 434 request = http_wrapper.Request(self.__batch_url, 'POST') 439 response = http_wrapper.MakeRequest(http, request)
|
D | base_api.py | 35 from apitools.base.py import http_wrapper 260 self._http = http or http_wrapper.GetHttp() 604 http_response = http_wrapper.Response( 658 http_request = http_wrapper.Request( 720 http_response = http_wrapper.MakeRequest(
|
D | __init__.py | 27 from apitools.base.py.http_wrapper import *
|
/external/curl/lib/ |
D | rtsp.h | 59 struct HTTP http_wrapper; /*wrap HTTP to do the heavy lifting */ member
|