mirror of https://github.com/python/cpython
33 lines
1.0 KiB
Plaintext
33 lines
1.0 KiB
Plaintext
test_cookie
|
|
<SimpleCookie: vienna='finger' chips='ahoy'>
|
|
Set-Cookie: vienna=finger;
|
|
Set-Cookie: chips=ahoy;
|
|
vienna 'finger' 'finger'
|
|
Set-Cookie: vienna=finger;
|
|
chips 'ahoy' 'ahoy'
|
|
Set-Cookie: chips=ahoy;
|
|
<SimpleCookie: keebler='E=mc2; L="Loves"; fudge=\n;'>
|
|
Set-Cookie: keebler="E=mc2; L=\"Loves\"; fudge=\012;";
|
|
keebler 'E=mc2; L="Loves"; fudge=\n;' 'E=mc2; L="Loves"; fudge=\n;'
|
|
Set-Cookie: keebler="E=mc2; L=\"Loves\"; fudge=\012;";
|
|
<SimpleCookie: keebler='E=mc2'>
|
|
Set-Cookie: keebler=E=mc2;
|
|
keebler 'E=mc2' 'E=mc2'
|
|
Set-Cookie: keebler=E=mc2;
|
|
Set-Cookie: Customer="WILE_E_COYOTE"; Path=/acme;
|
|
|
|
<SCRIPT LANGUAGE="JavaScript">
|
|
<!-- begin hiding
|
|
document.cookie = "Customer="WILE_E_COYOTE"; Path=/acme; Version=1;"
|
|
// end hiding -->
|
|
</script>
|
|
|
|
|
|
<SCRIPT LANGUAGE="JavaScript">
|
|
<!-- begin hiding
|
|
document.cookie = "Customer="WILE_E_COYOTE"; Path=/acme;"
|
|
// end hiding -->
|
|
</script>
|
|
|
|
If anything blows up after this line, it's from Cookie's doctest.
|