Lines Matching refs:http
15 DUMMY_URL = "http://127.0.0.1:1"
23 http = httplib2.Http()
24 http.force_exception_to_status_code = False
25 response, content = http.request(
33 http = httplib2.Http()
36 http.force_exception_to_status_code = False
38 response, content = http.request(
47 http = httplib2.Http()
48 http.force_exception_to_status_code = False
51 http.request("http://no-such-hostname./")
54 http.force_exception_to_status_code = True
55 response, content = http.request("http://no-such-hostname./")
69 http = httplib2.Http()
70 http.force_exception_to_status_code = False
72 http.request(DUMMY_URL)
83 http = httplib2.Http()
84 http.force_exception_to_status_code = True
85 response, content = http.request(DUMMY_URL)
97 http = httplib2.Http()
100 response, content = http.request(uri + query, "GET")
108 http = httplib2.Http()
110 response, content = http.request(uri)
118 http = httplib2.Http()
122 response, content = http.request(uri, method, body=b" ")
131 http = httplib2.Http()
132 respond_with = b"HTTP/1.0 200 OK\r\ncontent-length: " b"14\r\n\r\nnon-empty-body"
134 response, content = http.request(uri, "HEAD")
141 http = httplib2.Http()
143 response, content = http.request(uri, "GET")
150 http = httplib2.Http()
152 response, content = http.request(uri, "GET")
160 http = httplib2.Http()
162 response, content = http.request(uri, "GET", headers={"User-Agent": "fred/1.0"})
170 http = httplib2.Http()
179 response, content = http.request(uri, "GET")
187 response, content = http.request(uri, "GET")
196 http = httplib2.Http()
197 http.follow_redirects = False
204 response, content = http.request(uri, "GET")
211 http = httplib2.Http()
215 response, content = http.request(uri, "GET")
224 http = httplib2.Http(cache=tests.get_cache_path())
236 response1, content1 = http.request(uri, "GET")
237 response2, content2 = http.request(uri, "GET")
259 http = httplib2.Http()
271 response, content = http.request(uri, "HEAD")
285 http = httplib2.Http(cache=tests.get_cache_path(), timeout=0.5)
286 http.follow_redirects = False
294 response, _ = http.request(uri, "GET")
297 response, _ = http.request(uri, "GET")
305 http = httplib2.Http(cache=tests.get_cache_path())
319 response1, content1 = http.request(second_url, "GET")
320 response2, content2 = http.request(second_url, "GET")
321 response3, content3 = http.request(uri, "GET")
349 http = httplib2.Http()
350 http.force_exception_to_status_code = False
361 http.request(uri, "GET", redirections=1)
369 http.force_exception_to_status_code = True
370 response, content = http.request(uri, "GET", redirections=1)
382 http = httplib2.Http()
383 http.force_exception_to_status_code = False
386 http.request(uri, "GET")
394 http.force_exception_to_status_code = True
395 response, content = http.request(uri, "GET")
411 http = httplib2.Http()
419 response, content = http.request(uri, "POST", " ")
426 http = httplib2.Http()
427 http.follow_redirects = False
429 response, content = http.request(uri, "POST", " ")
433 http = httplib2.Http()
437 response, content = http.request(uri, method, body=b"q q")
446 http = httplib2.Http(cache=cache_path)
460 response, _ = http.request(uri, "GET", headers={"accept-encoding": "identity"})
463 http.request(uri, "GET", headers={"accept-encoding": "identity"})
464 response, _ = http.request(
480 response, content = http.request(
486 response, content = http.request(
495 http = httplib2.Http(cache=tests.get_cache_path())
498 response, content = http.request(
504 response, content = http.request(
512 http.ignore_etag = True
513 response, content = http.request(
525 http = httplib2.Http(cache=tests.get_cache_path())
528 response, _ = http.request(uri, "GET", headers={"accept-encoding": "identity"})
532 response, content = http.request(
542 response, content = http.request(
561 # response, content = http.request(uri, 'GET')
566 # response, content = http.request(uri, 'GET', headers = {'Cache-Control': 'max-age=0'})
577 http = httplib2.Http(cache=tests.get_cache_path())
591 response, content = http.request(uri, "GET")
594 response, content = http.request(uri, "GET")
602 http = httplib2.Http(cache=tests.get_cache_path(), timeout=1)
612 response, content = http.request(uri, "GET")
619 response, content = http.request(uri, "GET")
629 http = httplib2.Http()
631 response, content = http.request(uri, "GET")
637 http = httplib2.Http()
638 response = b"""HTTP/1.0 200 OK\r\n\
644 response, content = http.request(uri, "GET")