Home | History | Annotate | Download | only in tests

Lines Matching refs:http

14     # Google always redirects to http://google.com
15 http = httplib2.Http()
16 response, content = http.request("https://code.google.com/apis/", "GET")
23 http = httplib2.Http()
24 response, content = http.request("https://google.com/adsense/", "GET")
33 http = httplib2.Http()
34 response, content = http.request("https://google.com/adsense", "GET")
44 http = httplib2.Http(timeout=2)
45 http.add_certificate("akeyfile", "acertfile", "bitworking.org")
47 http.request("https://bitworking.org", "GET")
49 assert http.connections["https:bitworking.org"].key_file == "akeyfile"
50 assert http.connections["https:bitworking.org"].cert_file == "acertfile"
56 http.request("https://notthere.bitworking.org", "GET")
58 assert http.connections["https:notthere.bitworking.org"].key_file is None
59 assert http.connections["https:notthere.bitworking.org"].cert_file is None
68 http = httplib2.Http(ca_certs="/nosuchfile")
70 http.request("https://www.google.com/", "GET")
89 http = httplib2.Http(ca_certs=other_ca_certs)
90 http.follow_redirects = False
92 http.request("https://www.google.com/", "GET")
97 http = httplib2.Http()
98 http.request("https://google.com/", method="GET")