Lines Matching refs:uri
149 uri = "http://" + ("w" * 200) + ".org"
151 self.assertNotEqual(httplib2.safename(uri2), httplib2.safename(uri))
154 self.assertEqual(233, len(httplib2.safename(uri)))
345 uri = urlparse.urljoin(
348 (response, content) = self.http.request(uri, "GET")
355 uri = urlparse.urljoin(base, "methods/method_reflector.cgi")
356 (response, content) = self.http.request(uri)
361 uri = urlparse.urljoin(base, "methods/method_reflector.cgi")
363 (response, content) = self.http.request(uri, method, body=" ")
371 uri = "http://www.google.com/"
372 (response, content) = self.http.request(uri, "HEAD")
379 uri = urlparse.urljoin(base, "304/test_etag.txt")
380 (response, content) = http.request(uri, "GET")
386 uri = urlparse.urljoin(base, "304/test_etag.txt")
387 (response, content) = self.http.request(uri, "GET")
389 uri, "GET", headers={"cache-control": "only-if-cached"}
396 uri = urlparse.urljoin(base, "304/test_etag.txt")
398 uri, "GET", headers={"cache-control": "only-if-cached"}
409 uri = urlparse.urljoin(base, "304/test_etag.txt")
411 uri, "GET", headers={"cache-control": "only-if-cached"}
418 uri = urlparse.urljoin(base, "user-agent/test.cgi")
419 (response, content) = self.http.request(uri, "GET")
426 uri = urlparse.urljoin(base, "user-agent/test.cgi")
428 uri, "GET", headers={"User-Agent": "fred/1.0"}
435 uri = urlparse.urljoin(base, "300/with-location-header.asis")
436 (response, content) = self.http.request(uri, "GET")
443 (response, content) = self.http.request(uri, "GET")
452 uri = urlparse.urljoin(base, "300/with-location-header.asis")
453 (response, content) = self.http.request(uri, "GET")
459 uri = urlparse.urljoin(base, "300/without-location-header.asis")
460 (response, content) = self.http.request(uri, "GET")
468 uri = urlparse.urljoin(base, "301/onestep.asis")
470 (response, content) = self.http.request(uri, "GET")
478 (response, content) = self.http.request(uri, "GET")
487 uri = urlparse.urljoin(base, "301/onestep.asis")
489 (response, content) = self.http.request(uri, "HEAD")
498 uri = urlparse.urljoin(base, "301/onestep.asis")
500 (response, content) = self.http.request(uri, "GET")
506 uri = urlparse.urljoin(base, "302/onestep.asis")
508 (response, content) = self.http.request(uri, "GET")
515 uri = urlparse.urljoin(base, "302/onestep.asis")
516 (response, content) = self.http.request(uri, "GET")
523 self.assertEqual(response.previous["content-location"], uri)
525 uri = urlparse.urljoin(base, "302/twostep.asis")
527 (response, content) = self.http.request(uri, "GET")
540 uri = urlparse.urljoin(base, "302/twostep.asis")
542 (response, content) = self.http.request(uri, "GET", redirections=1)
552 (response, content) = self.http.request(uri, "GET", redirections=1)
563 uri = urlparse.urljoin(base, "302/no-location.asis")
565 (response, content) = self.http.request(uri, "GET")
575 (response, content) = self.http.request(uri, "GET")
669 uri = urlparse.urljoin(base, "303/303.cgi")
670 (response, content) = self.http.request(uri, "POST", " ")
679 uri = urlparse.urljoin(base, "303/303.cgi")
680 (response, content) = self.http.request(uri, "POST", " ")
685 uri = urlparse.urljoin(base, "303/redirect-to-reflector.cgi")
693 (response, content) = self.http.request(uri, method, body=" ")
698 uri = urlparse.urljoin(base, "303/redirect-to-header-reflector.cgi")
700 response, content = self.http.request(uri, "GET", body=" ", headers=headers)
704 response, content = self.http.request(uri, "GET", body=" ", headers=headers)
710 uri = urlparse.urljoin(base, "304/test_etag.txt")
712 uri, "GET", headers={"accept-encoding": "identity"}
716 (response, content) = self.http.request(uri, "GET")
718 uri, "GET", headers={"cache-control": "must-revalidate"}
724 cacheDirName, httplib2.safename(httplib2.urlnorm(uri)[-1])
732 (response, content) = self.http.request(uri, "HEAD")
737 uri, "GET", headers={"range": "bytes=0-0"}
744 uri = urlparse.urljoin(base, "reflector/reflector.cgi")
746 uri, "GET", headers={"accept-encoding": "identity"}
751 uri,
760 uri,
770 uri = urlparse.urljoin(base, "reflector/reflector.cgi")
772 uri, "GET", headers={"accept-encoding": "identity"}
777 uri,
786 uri,
817 uri = urlparse.urljoin(base, "304/last-modified-only/last-modified-only.txt")
818 (response, content) = self.http.request(uri, "GET")
821 (response, content) = self.http.request(uri, "GET")
822 (response, content) = self.http.request(uri, "GET")
829 uri = urlparse.urljoin(base, "307/onestep.asis")
830 (response, content) = self.http.request(uri, "GET")
836 (response, content) = self.http.request(uri, "GET")
845 uri = urlparse.urljoin(base, "410/410.asis")
846 (response, content) = self.http.request(uri, "GET")
854 uri = urlparse.urljoin(base, "vary/accept.asis")
856 uri, "GET", headers={"Accept": "text/plain"}
864 uri, "GET", headers={"Accept": "text/plain"}
871 uri, "GET", headers={"Accept": "text/html"}
877 (response, content) = self.http.request(uri, "GET")
900 uri = urlparse.urljoin(base, "vary/accept-double.asis")
902 uri,
914 uri,
924 uri, "GET", headers={"Accept": "text/plain"}
931 uri, "GET", headers={"Accept-Language": "da"}
938 uri = urlparse.urljoin(base, "vary/unused-header.asis")
940 uri, "GET", headers={"Accept": "text/plain"}
947 uri, "GET", headers={"Accept": "text/plain"}
953 uri = urlparse.urljoin(base, "gzip/final-destination.txt")
954 (response, content) = self.http.request(uri, "HEAD")
961 uri = urlparse.urljoin(base, "gzip/final-destination.txt")
962 (response, content) = self.http.request(uri, "GET")
972 uri = urlparse.urljoin(base, "gzip/post.cgi")
973 (response, content) = self.http.request(uri, "POST", body=" ")
981 uri = urlparse.urljoin(base, "gzip/failed-compression.asis")
983 (response, content) = self.http.request(uri, "GET")
993 (response, content) = self.http.request(uri, "GET")
999 uri = urlparse.urljoin(base, "timeout/timeout.cgi")
1007 (response, content) = self.http.request(uri)
1013 uri = urlparse.urljoin(base, "timeout/timeout.cgi")
1017 (response, content) = http.request(uri)
1028 uri = urlparse.urljoin(base, "deflate/deflated.asis")
1029 (response, content) = self.http.request(uri, "GET")
1041 uri = urlparse.urljoin(base, "deflate/failed-compression.asis")
1043 (response, content) = self.http.request(uri, "GET")
1053 (response, content) = self.http.request(uri, "GET")
1059 uri = urlparse.urljoin(base, "duplicate-headers/multilink.asis")
1060 (response, content) = self.http.request(uri, "GET")
1070 uri = urlparse.urljoin(base, "304/test_etag.txt")
1072 uri, "GET", headers={"accept-encoding": "identity"}
1076 uri, "GET", headers={"accept-encoding": "identity"}
1082 uri,
1091 uri = urlparse.urljoin(base, "304/test_etag.txt")
1093 uri, "GET", headers={"accept-encoding": "identity"}
1097 uri, "GET", headers={"accept-encoding": "identity"}
1103 uri, "GET", headers={"accept-encoding": "identity", "Pragma": "no-cache"}
1110 uri = urlparse.urljoin(base, "304/test_etag.txt")
1113 uri, "GET", headers={"Cache-Control": "no-store"}
1119 uri, "GET", headers={"Cache-Control": "no-store"}
1126 uri = urlparse.urljoin(base, "no-store/no-store.asis")
1128 (response, content) = self.http.request(uri, "GET")
1132 (response, content) = self.http.request(uri, "GET")
1139 uri = urlparse.urljoin(base, "304/test_etag.txt")
1141 (response, content) = self.http.request(uri, "GET")
1142 (response, content) = self.http.request(uri, "GET")
1145 uri, "GET", headers={"Cache-Control": "no-store, no-cache"}
1148 uri, "GET", headers={"Cache-Control": "no-store, no-cache"}
1156 uri = urlparse.urljoin(base, "304/test_etag.txt")
1158 (response, content) = self.http.request(uri, "GET")
1159 (response, content) = self.http.request(uri, "GET")
1161 (response, content) = self.http.request(uri, "DELETE")
1164 (response, content) = self.http.request(uri, "GET")
1169 uri = urlparse.urljoin(base, "conditional-updates/test.cgi")
1171 (response, content) = self.http.request(uri, "GET")
1174 (response, content) = self.http.request(uri, "GET")
1177 (response, content) = self.http.request(uri, "PUT", body="foo")
1179 (response, content) = self.http.request(uri, "PUT", body="foo")
1184 uri = urlparse.urljoin(base, "conditional-updates/test.cgi")
1186 (response, content) = self.http.request(uri, "GET")
1189 (response, content) = self.http.request(uri, "GET")
1192 (response, content) = self.http.request(uri, "PATCH", body="foo")
1194 (response, content) = self.http.request(uri, "PATCH", body="foo")
1199 uri = urlparse.urljoin(base, "conditional-updates/test.cgi")
1201 (response, content) = self.http.request(uri, "GET")
1204 (response, content) = self.http.request(uri, "GET")
1208 (response, content) = self.http.request(uri, "DELETE")
1213 uri = urlparse.urljoin(base, "conditional-updates/test.cgi")
1215 (response, content) = self.http.request(uri, "GET")
1218 (response, content) = self.http.request(uri, "GET")
1222 uri, "PUT", body="foo", headers={"if-match": "fred"}
1228 uri = urlparse.urljoin(base, "basic/file.txt")
1229 (response, content) = self.http.request(uri, "GET")
1232 uri = urlparse.urljoin(base, "basic/")
1233 (response, content) = self.http.request(uri, "GET")
1237 (response, content) = self.http.request(uri, "GET")
1240 uri = urlparse.urljoin(base, "basic/file.txt")
1241 (response, content) = self.http.request(uri, "GET")
1246 uri = urlparse.urljoin(base, "basic/file.txt")
1247 (response, content) = self.http.request(uri, "GET")
1250 uri = urlparse.urljoin(base, "basic/")
1251 (response, content) = self.http.request(uri, "GET")
1255 (response, content) = self.http.request(uri, "GET")
1258 uri = urlparse.urljoin(base, "basic/file.txt")
1259 (response, content) = self.http.request(uri, "GET")
1264 (response, content) = self.http.request(uri, "GET")
1267 uri = urlparse.urljoin(base, "basic/file.txt")
1268 (response, content) = self.http.request(uri, "GET")
1273 uri = urlparse.urljoin(base, "basic2/file.txt")
1274 (response, content) = self.http.request(uri, "GET")
1277 uri = urlparse.urljoin(base, "basic2/")
1278 (response, content) = self.http.request(uri, "GET")
1282 (response, content) = self.http.request(uri, "GET")
1285 uri = urlparse.urljoin(base, "basic2/file.txt")
1286 (response, content) = self.http.request(uri, "GET")
1292 uri = urlparse.urljoin(base, "basic-nested/")
1293 (response, content) = self.http.request(uri, "GET")
1296 uri = urlparse.urljoin(base, "basic-nested/subdir")
1297 (response, content) = self.http.request(uri, "GET")
1303 uri = urlparse.urljoin(base, "basic-nested/")
1304 (response, content) = self.http.request(uri, "GET")
1307 uri = urlparse.urljoin(base, "basic-nested/subdir")
1308 (response, content) = self.http.request(uri, "GET")
1313 uri = urlparse.urljoin(base, "basic-nested/")
1314 (response, content) = self.http.request(uri, "GET")
1317 uri = urlparse.urljoin(base, "basic-nested/subdir")
1318 (response, content) = self.http.request(uri, "GET")
1323 uri = urlparse.urljoin(base, "digest/")
1324 (response, content) = self.http.request(uri, "GET")
1328 (response, content) = self.http.request(uri, "GET")
1331 uri = urlparse.urljoin(base, "digest/file.txt")
1332 (response, content) = self.http.request(uri, "GET")
1337 uri = urlparse.urljoin(base, "digest/file.txt")
1340 uri, "GET", headers={"cache-control": "no-cache"}
1345 uri, "GET", headers={"cache-control": "no-cache"}
1355 uri = urlparse.urljoin(base, "digest-expire/file.txt")
1358 uri, "GET", headers={"cache-control": "no-cache"}
1367 uri, "GET", headers={"cache-control": "no-cache"}
1378 uri = urlparse.urljoin(base, "reflector/reflector.cgi")
1379 (response, content) = self.http.request(uri, "GET")
1384 uri = "http://www.google.com/"
1385 (response, content) = self.http.request(uri, "GET")
1389 uri, "GET", headers={"connection": "close"}