RandomSec/lib/jython-2.5.1/test/output/test_cookie
Vishal Talwar d0df704d8a added python code part of jython distribution in lib/jython-2.5.1
added python.path vm arg to startup script
fixed infinite loop in unwrap() when displaying sequences of sequences



git-svn-id: http://google-refine.googlecode.com/svn/trunk@509 7d457c2a-affb-35e4-300a-418c747d4874
2010-04-20 18:50:24 +00:00

33 lines
1.0 KiB
Plaintext

test_cookie
<SimpleCookie: chips='ahoy' vienna='finger'>
Set-Cookie: chips=ahoy
Set-Cookie: vienna=finger
chips 'ahoy' 'ahoy'
Set-Cookie: chips=ahoy
vienna 'finger' 'finger'
Set-Cookie: vienna=finger
<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 type="text/javascript">
<!-- begin hiding
document.cookie = "Customer="WILE_E_COYOTE"; Path=/acme; Version=1";
// end hiding -->
</script>
<script type="text/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.