File: test_cookie

package info (click to toggle)
python2.1 2.1.3dfsg-1sarge1
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 38,028 kB
  • ctags: 64,228
  • sloc: python: 186,023; ansic: 184,754; xml: 43,435; sh: 12,381; makefile: 3,523; perl: 3,108; lisp: 2,460; cpp: 106; sed: 2
file content (32 lines) | stat: -rw-r--r-- 1,051 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
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.