Lines Matching refs:httplib2
1 import httplib2
21 httplib2._convert_byte_str(4)
22 assert httplib2._convert_byte_str(b"Hello") == "Hello"
23 assert httplib2._convert_byte_str("World") == "World"
27 http = httplib2.Http()
42 http = httplib2.Http(cache=tests.get_cache_path())
55 http = httplib2.Http()
63 http = httplib2.Http()
87 http = httplib2.Http()
102 http = httplib2.Http(timeout=0.1)
125 http = httplib2.Http(timeout=0.5)
138 c = httplib2.HTTPSConnectionWithTimeout("localhost", 80, timeout=47)
147 http = httplib2.Http()
167 end2end = httplib2._get_end2end_headers(response)
178 end2end = httplib2._get_end2end_headers(response)
185 end2end = httplib2._get_end2end_headers(response)
190 end2end = httplib2._get_end2end_headers(response)
203 httplib2.Http(timeout=0.1).request(uri)
212 (httplib2.HTTPConnectionWithTimeout, httplib2.HTTPSConnectionWithTimeout),
226 http = httplib2.Http()
234 assert isinstance(conn, httplib2.HTTPConnectionWithTimeout)
238 http = httplib2.Http()
252 http = httplib2.Http()