Home | History | Annotate | Download | only in py

Lines Matching refs:http

9 #     http://www.apache.org/licenses/LICENSE-2.0
17 """Library for handling batch HTTP requests for apitools."""
44 """Container for data related to completing an HTTP request.
46 This contains an HTTP request, its response, and a callback for handling
50 request: An http_wrapper.Request object representing the HTTP request.
66 ApiCalls are ultimately exposed to the client once the HTTP
84 retryable_codes: A list of integer HTTP codes that can
126 """Handles an incoming http response to the request in http_request.
148 retryable_codes: A list of integer HTTP codes that can be retried.
174 # Prepare the HTTP Request.
184 def Execute(self, http, sleep_between_polls=5, max_retries=5,
189 http: httplib2.Http object for use in the request.
222 batch_http_request.Execute(http)
224 if hasattr(http.request, 'credentials'):
228 http.request.credentials.refresh(http)
251 apiclient.errors.HttpError exception object if an HTTP error
318 The request as a string in application/http format.
327 u'HTTP/1.1\n'
399 apiclient.errors.HttpError exception object if an HTTP error
409 def _Execute(self, http):
413 http: A httplib2.Http object to be used to make the request with.
425 msg = mime_nonmultipart.MIMENonMultipart('application', 'http')
439 response = http_wrapper.MakeRequest(http, request)
465 def Execute(self, http):
466 """Execute all the requests as a single batched HTTP request.
469 http: A httplib2.Http object to be used with the request.
478 self._Execute(http)