Lines Matching refs:url

306     def __init__(self, headers=[], url=None):
312 self._url = url
315 def interact_2965(cookiejar, url, *set_cookie_hdrs):
316 return _interact(cookiejar, url, set_cookie_hdrs, "Set-Cookie2")
318 def interact_netscape(cookiejar, url, *set_cookie_hdrs):
319 return _interact(cookiejar, url, set_cookie_hdrs, "Set-Cookie")
321 def _interact(cookiejar, url, set_cookie_hdrs, hdr_name):
323 req = urllib.request.Request(url)
329 res = FakeResponse(headers, url)
506 for url, domain, ok in [
527 request = urllib.request.Request(url)
816 url = f'{base_url}{path}'
817 req = urllib.request.Request(url)
818 h = interact_netscape(c, url)
1175 url = "http://www.acme.com/"
1176 int(c, url, "foo1=bar%s%s" % (vs, whitespace))
1177 int(c, url, "foo2=bar%s; secure%s" % (vs, whitespace))
1248 url = "http://www.acme.com"
1250 interact_2965(c, url, "foo=bar; Version=1")
1251 req = urllib.request.Request(url)
1260 url = "http://foo.bar.com/"
1261 interact_2965(c, url, "spam=eggs; Version=1")
1262 h = interact_2965(c, url)
1267 url = "http://foo.bar.com/"
1268 interact_2965(c, url, 'spam=eggs; Version=1; Domain=.bar.com')
1269 h = interact_2965(c, url)
1273 url = "http://foo.bar.com/"
1275 interact_2965(c, url, 'spam=eggs; Version=1; Domain=bar.com')
1276 h = interact_2965(c, url)
1283 url = "http://foo.bar.com/"
1284 interact_2965(c, url, "spam=eggs; Version=1")
1285 h = interact_2965(c, url)
1289 url = "http://foo.bar.com/"
1290 interact_2965(c, url, 'spam=eggs; Version=1; Path=/')
1291 h = interact_2965(c, url)
1298 url = "http://foo.bar.com/"
1299 interact_2965(c, url, "spam=eggs; Version=1")
1300 h = interact_2965(c, url)
1304 url = "http://foo.bar.com/"
1305 interact_2965(c, url, "spam=eggs; Version=1; Port")
1306 h = interact_2965(c, url)
1311 url = "http://foo.bar.com/"
1312 interact_2965(c, url, 'spam=eggs; Version=1; Port="80"')
1313 h = interact_2965(c, url)
1318 url = "http://foo.bar.com/"
1319 interact_2965(c, url, 'spam=eggs; Version=1; Port="80,8080"')
1320 h = interact_2965(c, url)
1327 url = "http://foo.bar.com/"
1328 interact_2965(c, url, 'spam=eggs; Version=1; '
1331 h = interact_2965(c, url)