Home | History | Annotate | Download | only in test

Lines Matching refs:Request

238     """Perform a single request / response cycle, returning Cookie: header."""

239 from urllib2 import Request
240 req = Request(url)
325 ## path in the request-uri up to, but not including, the last '/'. Note
367 request = urllib2.Request(url)
368 r = pol.domain_return_ok(domain, request)
506 # max-age takes precedence over expires, and zero max-age is request to
606 from urllib2 import Request
609 req = Request("http://www.example.com/rheum/rhaponticum;"
614 req = Request("http://www.example.com/rheum/rhaponticum?"
618 req = Request("http://www.example.com")
622 from urllib2 import Request
624 req = Request("http://www.acme.com:1234/",
627 req = Request("http://www.acme.com/",
632 from urllib2 import Request
634 # this request is illegal (RFC2616, 14.2.3)
635 req = Request("http://1.1.1.1/",
641 req = Request("http://www.acme.com/",
644 # not actually sure this one is valid Request object, so maybe should
646 req = Request("/resource.html",
649 # port shouldn't be in request-host
650 req = Request("http://www.acme.com:2345/resource.html",
714 # Cookies whose effective request-host name does not domain-match the
838 from urllib2 import Request
844 req = Request("http://acme.com/")
850 req = Request("http://www.acme.com/")
855 req = Request("http://www.coyote.com/")
861 req = Request("http://www.coyote.com/")
872 from urllib2 import Request
879 req = Request("http://www.acme.com/")
889 req = Request("http://www.roadrunner.net/")
893 req = Request("http://www.roadrunner.net/")
904 req = Request("http://www.acme.com/")
946 # Missing slash from request URL's abs_path should be assumed present.
948 from urllib2 import Request
952 req = Request(url)
1105 from urllib2 import Request
1107 req = Request("http://www.example.com/")
1139 from urllib2 import Request
1183 #req = Request("http://1.1.1.1/",
1185 req = Request("http://www.acme.com:80/",
1194 req = Request("http://www.acme.com/")
1204 req = Request("http://www.acme.com/foo/bar")
1215 req = Request("http://www.acme.com/")
1223 req = Request("http://www.acme.com/foo/")
1233 from urllib2 import Request
1261 req = Request("http://www.acme.com/")
1267 req = Request("http://www.acme.com/")
1278 req = Request("http://www.acme.com/ammo")
1297 # Most detail of request and response headers has been omitted. Assume
1396 # Path attribute and (default) domain. Because the request URLs all have
1397 # /acme as a prefix, and that matches the Path attribute, each request
1406 # of request and response headers has been omitted. Assume the user agent
1427 # A subsequent request by the user agent to the (same) server for URLs of
1428 # the form /acme/ammo/... would include the following request header:
1443 # A subsequent request by the user agent to the (same) server for a URL of
1444 # the form /acme/parts/ would include the following request header:
1449 # the request URL, /acme/parts/, so the cookie does not get forwarded to
1491 # illegal path (must be prefix of request path)
1503 # illegal port (request-port not in list)
1617 from urllib2 import Request
1621 req = Request("http://foo.bar.acme.com/foo")
1635 req = Request("http://foo.bar.acme.com/foo")
1673 from urllib2 import Request
1685 req = Request("http://www.ants.com/")
1690 req = Request("http://www.ants.com/")
1697 # missing path in the request URI
1698 req = Request("http://www.ants.com:8080")
1707 from urllib2 import Request
1714 req = Request('http://www.perlmeister.com/scripts')