Lines Matching refs:path
409 headers = ["Set-Cookie: pll_lang=en; Max-Age=31536000; path=/"]
482 ## - Default path: if no path parameter is given, the path defaults to the
483 ## path in the request-uri up to, but not including, the last '/'. Note
538 interact_netscape(c, "http://www.acme.com/", '"spam"; path=/foo/')
546 r'"spam"; path="/foo/"; domain="www.acme.com"; '
555 # cookies unchanged apart from lost info re. whether path was specified
660 headers = [f"Set-Cookie: FOO=BAR; path=/; expires={future}"]
756 # Default path does not include query, so is "/", not "/?spam".
811 for path, ok in [('/foo', True),
816 url = f'{base_url}{path}'
820 self.assertIn('spam=eggs', h, f"cookie not set for {path}")
823 self.assertNotIn('spam=eggs', h, f"cookie set for {path}")
1037 'spam=eggs; domain=foo.net; path=/foo; Version="1"')
1070 headers = ["Set-Cookie: CUSTOMER=WILE_E_COYOTE; path=/"]
1099 headers = ["Set-Cookie: CUSTOMER=WILE_E_COYOTE; path=/"]
1189 headers = ["Set-Cookie: session=narf; secure; path=/"]
1217 headers = ["Set-Cookie: session=narf; secure; path=/"]
1286 self.assertNotIn("Path", h, "absent path returned with path present")
1292 self.assertIn('$Path="/"', h, "path not returned")
1345 "foo=bar; path=/; Version=1")
1364 self.assertEqual(c.path, paths[i])
1370 parse_ns_headers(["foo=bar; path=/; domain"]),
1372 ("path", "/"), ("domain", None), ("version", "0")]]
1410 ["Set-Cookie2: a=foo; path=/; Version=1; domain"],
1438 # Set-Cookie: CUSTOMER=WILE_E_COYOTE; path=/; expires=Wednesday, 09-Nov-99 23:12:40 GMT
1440 # When client requests a URL in path "/" on this server, it sends:
1446 # Set-Cookie: PART_NUMBER=ROCKET_LAUNCHER_0001; path=/
1448 # When client requests a URL in path "/" on this server, it sends:
1454 # Set-Cookie: SHIPPING=FEDEX; path=/fo
1456 # When client requests a URL in path "/" on this server, it sends:
1460 # When client requests a URL in path "/foo" on this server, it sends:
1480 "Set-Cookie: CUSTOMER=WILE_E_COYOTE; path=/ ; "
1491 headers.append("Set-Cookie: PART_NUMBER=ROCKET_LAUNCHER_0001; path=/")
1502 headers.append('Set-Cookie: SHIPPING=FEDEX; path=/foo')
1529 # Set-Cookie: PART_NUMBER=ROCKET_LAUNCHER_0001; path=/
1531 # When client requests a URL in path "/" on this server, it sends:
1537 # Set-Cookie: PART_NUMBER=RIDING_ROCKET_0023; path=/ammo
1539 # When client requests a URL in path "/ammo" on this server, it sends:
1550 headers.append("Set-Cookie: PART_NUMBER=ROCKET_LAUNCHER_0001; path=/")
1562 "Set-Cookie: PART_NUMBER=RIDING_ROCKET_0023; path=/ammo")
1739 # Test rejection of Set-Cookie2 responses based on domain, path, port.
1771 # illegal path (must be prefix of request path)
1773 'blah=rhubarb; domain=".sol.no"; path="/foo"; '
1777 # legal path
1779 'bing=bong; domain=".sol.no"; path="/foo"; '
1803 # encoded path
1804 # LWP has this test, but unescaping allowed path characters seems
1807 ## r'foo8=bar; version=1; path="/%66oo"')
1808 # but this is OK, because '<' is not an allowed HTTP URL path
1811 r'foo8=bar; version=1; path="/%3coo"')
1838 'bar=baz; path="/foo/"; version=1');
1945 # Test for empty path
1967 # missing path in the request URI