Searched refs:httplib2 (Results 1 – 25 of 106) sorted by relevance
12345
/external/python/httplib2/doc/html/ |
D | objects.inv | 2 # Project: httplib2 4 httplib2 mod libhttplib2.html 5 httplib2.ProxyInfo class libhttplib2.html 6 httplib2.Cache.set method libhttplib2.html 7 httplib2.Http class libhttplib2.html 8 httplib2.Cache.delete method libhttplib2.html 9 httplib2.Http.follow_all_redirects attribute libhttplib2.html 10 httplib2.RelativeURIError exception libhttplib2.html 11 httplib2.Http.follow_redirects attribute libhttplib2.html 12 httplib2.RETRIES data libhttplib2.html [all …]
|
/external/python/httplib2/tests/ |
D | test_uri.py | 1 import httplib2 26 assert httplib2.parse_uri(a) == b 38 assert httplib2.urlnorm(a)[-1] == b 40 assert httplib2.urlnorm("http://localhost:80/") == httplib2.urlnorm( 45 httplib2.urlnorm("/") 47 except httplib2.RelativeURIError: 72 httplib2.urlnorm("http://WWW")[-1], 73 httplib2.safename(httplib2.urlnorm("http://www")[-1]), 102 result = httplib2.safename(data[0]) 107 assert httplib2.safename("http://www") != httplib2.safename("https://www") [all …]
|
D | test_proxy.py | 11 import httplib2 25 pi = httplib2.proxy_info_from_url("http://myproxy.example.com") 32 pi = httplib2.proxy_info_from_url("http://zoidberg:fish@someproxy:99") 41 pi = httplib2.proxy_info_from_environment() 49 pi = httplib2.proxy_info_from_environment("https") 56 pi = httplib2.proxy_info_from_environment() 64 pi = httplib2.proxy_info_from_environment() 77 pi = httplib2.proxy_info_from_environment() 86 pi = httplib2.proxy_info_from_environment() 93 pi = httplib2.ProxyInfo( [all …]
|
D | test_other.py | 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) [all …]
|
D | test_auth.py | 1 import httplib2 8 c = httplib2.Credentials() 27 http = httplib2.Http() 42 http = httplib2.Http() 61 http = httplib2.Http() 82 http = httplib2.Http() 98 http = httplib2.Http() 109 info = httplib2._parse_www_authenticate(response1, "authentication-info") 114 info2 = httplib2._parse_www_authenticate(response2, "authentication-info") 118 info3 = httplib2._parse_www_authenticate(response3, "authentication-info") [all …]
|
D | test_http.py | 7 import httplib2 23 http = httplib2.Http() 33 http = httplib2.Http() 34 old_retries = httplib2.RETRIES 35 httplib2.RETRIES = 1 43 httplib2.RETRIES = old_retries 47 http = httplib2.Http() 49 with tests.assert_raises(httplib2.ServerNotFoundError): 69 http = httplib2.Http() 83 http = httplib2.Http() [all …]
|
D | test_external.py | 5 import httplib2 15 http = httplib2.Http() 23 http = httplib2.Http() 33 http = httplib2.Http() 44 http = httplib2.Http(timeout=2) 57 except httplib2.ServerNotFoundError: 68 http = httplib2.Http(ca_certs="/nosuchfile") 86 os.path.dirname(os.path.abspath(httplib2.__file__)), "test", "other_cacerts.txt" 89 http = httplib2.Http(ca_certs=other_ca_certs) 97 http = httplib2.Http()
|
D | test_cacerts_from_env.py | 6 import httplib2 9 CA_CERTS_BUILTIN = os.path.join(os.path.dirname(httplib2.__file__), "cacerts.txt") 35 assert httplib2.certs.where() == CA_CERTS_BUILTIN 42 assert httplib2.certs.where() == ca_certs_tmpfile 45 httplib2.certs.where() 47 assert httplib2.certs.where() == CA_CERTS_BUILTIN 54 assert httplib2.certs.where() == CERTIFI_CERTS_FILE 61 assert httplib2.certs.where() == CUSTOM_CA_CERTS 70 assert httplib2.certs.where() == ca_certs_tmpfile 72 assert httplib2.certs.where() == CA_CERTS_BUILTIN
|
D | test_cache.py | 2 import httplib2 13 http = httplib2.Http(cache=tests.get_cache_path()) 25 http = httplib2.Http(cache=tests.get_cache_path()) 39 http = httplib2.Http() 71 http = httplib2.Http(cache=tests.get_cache_path()) 98 http = httplib2.Http(cache=tests.get_cache_path()) 137 http = httplib2.Http(cache=tests.get_cache_path()) 155 http = httplib2.Http(cache=tests.get_cache_path()) 180 http = httplib2.Http(cache=tests.get_cache_path()) 201 http = httplib2.Http(cache=tests.get_cache_path()) [all …]
|
D | test_encoding.py | 1 import httplib2 7 http = httplib2.Http() 20 http = httplib2.Http() 35 http = httplib2.Http() 48 http = httplib2.Http() 55 with tests.assert_raises(httplib2.FailedToDecompressContent): 68 http = httplib2.Http() 83 http = httplib2.Http() 89 with tests.assert_raises(httplib2.FailedToDecompressContent):
|
/external/python/httplib2/python2/ |
D | httplib2test_appengine.py | 34 global httplib2 35 import httplib2 38 httplib2.SCHEME_TO_CONNECTION["https"], httplib2.AppEngineHttpsConnection 41 httplib2.SCHEME_TO_CONNECTION["http"], httplib2.AppEngineHttpConnection 51 global httplib2 52 import httplib2 54 reload(httplib2) 62 httplib2.SCHEME_TO_CONNECTION["https"], httplib2.AppEngineHttpsConnection 65 httplib2.SCHEME_TO_CONNECTION["http"], httplib2.AppEngineHttpConnection 69 http = httplib2.Http() [all …]
|
D | httplib2test.py | 12 import httplib2 40 c = httplib2.Credentials() 61 httplib2.parse_uri("http://example.com"), 65 httplib2.parse_uri("https://example.com"), 69 httplib2.parse_uri("https://example.com:8080"), 73 httplib2.parse_uri("http://example.com/"), 77 httplib2.parse_uri("http://example.com/path"), 81 httplib2.parse_uri("http://example.com/path?a=1&b=2"), 85 httplib2.parse_uri("http://example.com/path?a=1&b=2#fred"), 89 httplib2.parse_uri("http://example.com/path?a=1&b=2#fred"), [all …]
|
D | ssl_protocol_test.py | 3 import httplib2 13 http = httplib2.Http(ca_certs="/nosuchfile") 25 os.path.dirname(os.path.abspath(httplib2.__file__)), 29 http = httplib2.Http(ca_certs=other_ca_certs) 31 with self.assertRaises(httplib2.SSLHandshakeError): 35 http = httplib2.Http(ssl_version=ssl.PROTOCOL_TLSv1) 46 http = httplib2.Http(ssl_version=ssl.PROTOCOL_SSLv3) 54 with self.assertRaises(httplib2.SSLHandshakeError): 58 except httplib2.SSLHandshakeError as e:
|
/external/python/httplib2/ |
D | CHANGELOG | 4 https://github.com/httplib2/httplib2/issues/18 5 https://github.com/httplib2/httplib2/pull/111 8 https://github.com/httplib2/httplib2/issues/123 15 https://github.com/httplib2/httplib2/pull/117 18 https://github.com/httplib2/httplib2/pull/115 21 https://github.com/httplib2/httplib2/issues/112 24 https://github.com/httplib2/httplib2/pull/110 27 https://github.com/httplib2/httplib2/pull/101 36 https://github.com/httplib2/httplib2/pull/100 41 https://github.com/httplib2/httplib2/pull/97 [all …]
|
D | Makefile | 13 DST = dist/httplib2-$(VERSION) 27 -rm -rf dist/httplib2-$(VERSION) 28 -rm dist/httplib2-$(VERSION).tar.gz 29 -rm dist/httplib2-$(VERSION).zip 30 -mkdir dist/httplib2-$(VERSION) 34 cd dist && tar -czv -f httplib2-$(VERSION).tar.gz httplib2-$(VERSION) 35 cd dist && zip httplib2-$(VERSION).zip -r httplib2-$(VERSION) 36 cd dist/httplib2-$(VERSION) && python setup.py sdist --formats=gztar,zip upload 38 …e_upload.py --summary="Version $(shell python setup.py --version)" --project=httplib2 dist/*.tar.gz 39 …code_upload.py --summary="Version $(shell python setup.py --version)" --project=httplib2 dist/*.zip [all …]
|
D | METADATA | 1 name: "httplib2" 2 description: "httplib2 is a comprehensive HTTP client library, httplib2.py supports many features l… 6 value: "https://github.com/httplib2/httplib2" 10 value: "https://github.com/httplib2/httplib2.git"
|
D | README.md | 4 httplib2 is a comprehensive HTTP client library, httplib2.py supports many 61 $ pip install httplib2 70 import httplib2 71 h = httplib2.Http(".cache") 81 import httplib2 82 h = httplib2.Http(".cache") 92 import httplib2 93 h = httplib2.Http(".cache") 112 * https://github.com/httplib2/httplib2/wiki/Examples 113 * https://github.com/httplib2/httplib2/wiki/Examples-Python3
|
D | Android.bp | 19 srcs: ["python3/httplib2/cacerts.txt"], 20 path: "python3/httplib2", 25 srcs: ["python2/httplib2/*.py"], 26 path: "python2/httplib2", 31 srcs: ["python3/httplib2/*.py"], 32 path: "python3/httplib2", 36 name: "py-httplib2", 39 pkg_path: "httplib2",
|
/external/python/httplib2/python3/ |
D | httplib2test.py | 12 import httplib2 29 c = httplib2.Credentials() 50 httplib2.parse_uri("http://example.com"), 54 httplib2.parse_uri("https://example.com"), 58 httplib2.parse_uri("https://example.com:8080"), 62 httplib2.parse_uri("http://example.com/"), 66 httplib2.parse_uri("http://example.com/path"), 70 httplib2.parse_uri("http://example.com/path?a=1&b=2"), 74 httplib2.parse_uri("http://example.com/path?a=1&b=2#fred"), 78 httplib2.parse_uri("http://example.com/path?a=1&b=2#fred"), [all …]
|
/external/python/httplib2/python2/httplib2/test/ |
D | test_no_socket.py | 9 import httplib2 14 self._oldsocks = httplib2.socks 15 httplib2.socks = None 18 httplib2.socks = self._oldsocks 21 proxy_info = httplib2.ProxyInfo("blah", "localhost", 0) 22 client = httplib2.Http(proxy_info=proxy_info) 24 httplib2.ProxiesUnavailableError, client.request, "http://localhost:-1/"
|
D | test_ssl_context.py | 10 import httplib2 11 from httplib2.test import miniserver 49 client = httplib2.Http(ca_certs=self.ca_certs_path) 75 http = httplib2.Http(ca_certs=self.ca_certs_path, proxy_info=None)
|
D | smoke_test.py | 4 import httplib2 6 from httplib2.test import miniserver 17 client = httplib2.Http()
|
/external/python/httplib2/python2/httplib2/test/functional/ |
D | test_proxies.py | 11 import httplib2 12 from httplib2 import socks 13 from httplib2.test import miniserver 75 proxy_info = httplib2.ProxyInfo( 78 client = httplib2.Http(proxy_info=proxy_info)
|
/external/python/google-api-python-client/tests/ |
D | test_json_model.py | 30 import httplib2 151 resp = httplib2.Response({'status': '401'}) 171 resp = httplib2.Response({'status': '200'}) 180 resp = httplib2.Response({'status': '200'}) 189 resp = httplib2.Response({'status': '200'}) 198 resp = httplib2.Response({'status': '204'}) 254 resp = httplib2.Response({'status': '200'}) 262 resp = httplib2.Response({'status': '200'}) 270 resp = httplib2.Response({'status': '200'})
|
/external/python/oauth2client/oauth2client/ |
D | transport.py | 17 import httplib2 67 return httplib2.Http() 148 redirections=httplib2.DEFAULT_MAX_REDIRECTS, 218 redirections=httplib2.DEFAULT_MAX_REDIRECTS, 245 _CACHED_HTTP = httplib2.Http(MemoryCache())
|
12345