Lines Matching refs:http
7 # http://www.apache.org/licenses/LICENSE-2.0
64 from googleapiclient.http import build_http
65 from googleapiclient.http import BatchHttpRequest
66 from googleapiclient.http import HttpMock
67 from googleapiclient.http import HttpMockSequence
68 from googleapiclient.http import HttpRequest
69 from googleapiclient.http import MediaFileUpload
70 from googleapiclient.http import MediaUpload
172 http=None,
188 http: httplib2.Http, An instance of httplib2.Http or something that acts
189 like it that HTTP requests will be made through.
197 requestBuilder: googleapiclient.http.HttpRequest, encapsulator for an HTTP
214 if http is None:
217 discovery_http = http
225 return build_from_document(content, base=discovery_url, http=http,
238 def _retrieve_discovery_doc(url, http, cache_discovery, cache=None,
244 http: httplib2.Http, An instance of httplib2.Http or something that acts
245 like it through which HTTP requests will be made.
274 resp, content = http.request(actual_url)
299 http=None,
307 document that is it given, as opposed to retrieving one over HTTP.
313 base: string, base URI for all HTTP requests, usually the discovery URI.
317 http: httplib2.Http, An instance of httplib2.Http or something that acts
318 like it that HTTP requests will be made through.
323 requestBuilder: Takes an http request and packages it up to be executed.
332 if http is not None and credentials is not None:
333 raise ValueError('Arguments http and credentials are mutually exclusive.')
338 if 'rootUrl' not in service and (isinstance(http, (HttpMock,
349 # If the http client is not specified, then we must construct an http client
352 if http is None:
368 # If credentials are provided, create an authorized http instance;
371 http = _auth.authorized_http(credentials)
376 http = build_http()
382 return Resource(http=http, baseUrl=base, model=model,
390 See http://tools.ietf.org/html/draft-zyp-json-schema-03 for more details on
474 http_method: String; the HTTP method used to call the API method described
568 - http_method is a String; the HTTP method used to call the API method
606 if url.startswith('http://') or url.startswith('https://'):
634 http://tools.ietf.org/html/draft-zyp-json-schema-03#section-5.1
998 def __init__(self, http, baseUrl, model, requestBuilder, developerKey,
1003 http: httplib2.Http, Object to make http requests with.
1019 self._http = http
1079 third is an apiclient.errors.HttpError exception object if an HTTP
1119 return Resource(http=self._http, baseUrl=self._baseUrl,