~ubuntu-branches/ubuntu/gutsy/libapache2-mod-python/gutsy

« back to all changes in this revision

Viewing changes to doc-html/pyapi-cookie-classes.html

  • Committer: Bazaar Package Importer
  • Author(s): Martin Pitt
  • Date: 2006-07-07 13:18:35 UTC
  • mfrom: (1.2.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20060707131835-zfp1vupanjj2e77y
Tags: 3.2.8-1ubuntu1
* Merge to Debian unstable.
* Remaining Ubuntu change: debian/{control,rules}: Drop python 2.3 package.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
2
2
<html>
3
3
<head>
4
 
<link rel="STYLESHEET" href="modpython.css" type='text/css' />
5
 
<link rel="first" href="modpython.html" title='Mod_python Manual' />
6
 
<link rel='contents' href='contents.html' title="Contents" />
7
 
<link rel='index' href='genindex.html' title='Index' />
8
 
<link rel='last' href='about.html' title='About this document...' />
9
 
<link rel='help' href='about.html' title='About this document...' />
10
 
<link rel="next" href="pyapi-cookie-func.html" />
11
 
<link rel="prev" href="pyapi-cookie.html" />
12
 
<link rel="parent" href="pyapi-cookie.html" />
13
 
<link rel="next" href="pyapi-cookie-func.html" />
14
 
<meta http-equiv="Content-Type" content="text/html; charset=EUC-JP" />
15
 
<meta name='aesop' content='information' />
 
4
<link rel="STYLESHEET" href="modpython.css" type='text/css'>
 
5
<link rel="first" href="modpython.html" title='Mod_python Manual'>
 
6
<link rel='contents' href='contents.html' title="Contents">
 
7
<link rel='index' href='genindex.html' title='Index'>
 
8
<link rel='last' href='about.html' title='About this document...'>
 
9
<link rel='help' href='about.html' title='About this document...'>
 
10
<LINK REL="next" href="pyapi-cookie-func.html">
 
11
<LINK REL="prev" href="pyapi-cookie.html">
 
12
<LINK REL="parent" href="pyapi-cookie.html">
 
13
<LINK REL="next" href="pyapi-cookie-func.html">
 
14
<meta name='aesop' content='information'>
 
15
<META NAME="description" CONTENT="Classes">
 
16
<META NAME="keywords" CONTENT="modpython">
 
17
<META NAME="resource-type" CONTENT="document">
 
18
<META NAME="distribution" CONTENT="global">
16
19
<title>4.7.1 Classes</title>
17
20
</head>
18
21
<body>
19
22
<DIV CLASS="navigation">
20
 
<div id='top-navigation-panel' xml:id='top-navigation-panel'>
21
23
<table align="center" width="100%" cellpadding="0" cellspacing="2">
22
24
<tr>
23
 
<td class='online-navigation'><a rel="prev" title="4.7 Cookie - HTTP"
24
 
  href="pyapi-cookie.html"><img src='previous.png'
25
 
  border='0' height='32'  alt='Previous Page' width='32' /></A></td>
26
 
<td class='online-navigation'><a rel="parent" title="4.7 Cookie - HTTP"
27
 
  href="pyapi-cookie.html"><img src='up.png'
28
 
  border='0' height='32'  alt='Up One Level' width='32' /></A></td>
29
 
<td class='online-navigation'><a rel="next" title="4.7.2 Functions"
30
 
  href="pyapi-cookie-func.html"><img src='next.png'
31
 
  border='0' height='32'  alt='Next Page' width='32' /></A></td>
 
25
<td><a rel="prev" title="4.7 Cookie - HTTP" 
 
26
  href="pyapi-cookie.html"><img src='previous.gif'
 
27
  border='0' height='32'  alt='Previous Page' width='32'></A></td>
 
28
<td><a rel="parent" title="4.7 Cookie - HTTP" 
 
29
  href="pyapi-cookie.html"><img src='up.gif'
 
30
  border='0' height='32'  alt='Up One Level' width='32'></A></td>
 
31
<td><a rel="next" title="4.7.2 Functions" 
 
32
  href="pyapi-cookie-func.html"><img src='next.gif'
 
33
  border='0' height='32'  alt='Next Page' width='32'></A></td>
32
34
<td align="center" width="100%">Mod_python Manual</td>
33
 
<td class='online-navigation'><a rel="contents" title="Table of Contents"
34
 
  href="contents.html"><img src='contents.png'
35
 
  border='0' height='32'  alt='Contents' width='32' /></A></td>
36
 
<td class='online-navigation'><img src='blank.png'
37
 
  border='0' height='32'  alt='' width='32' /></td>
38
 
<td class='online-navigation'><a rel="index" title="Index"
39
 
  href="genindex.html"><img src='index.png'
40
 
  border='0' height='32'  alt='Index' width='32' /></A></td>
 
35
<td><a rel="contents" title="Table of Contents" 
 
36
  href="contents.html"><img src='contents.gif'
 
37
  border='0' height='32'  alt='Contents' width='32'></A></td>
 
38
<td><img src='blank.gif'
 
39
  border='0' height='32'  alt='' width='32'></td>
 
40
<td><a rel="index" title="Index" 
 
41
  href="genindex.html"><img src='index.gif'
 
42
  border='0' height='32'  alt='Index' width='32'></A></td>
41
43
</tr></table>
42
 
<div class='online-navigation'>
43
44
<b class="navlabel">Previous:</b>
44
45
<a class="sectref" rel="prev" href="pyapi-cookie.html">4.7 Cookie - HTTP</A>
45
46
<b class="navlabel">Up:</b>
46
47
<a class="sectref" rel="parent" href="pyapi-cookie.html">4.7 Cookie - HTTP</A>
47
48
<b class="navlabel">Next:</b>
48
49
<a class="sectref" rel="next" href="pyapi-cookie-func.html">4.7.2 Functions</A>
49
 
</div>
50
 
<hr /></div>
 
50
<br><hr>
51
51
</DIV>
52
52
<!--End of Navigation Panel-->
53
53
 
54
 
<H2><A NAME="SECTION006710000000000000000"></A><A NAME="pyapi-cookie-classes"></A>
 
54
<H2><A NAME="SECTION006710000000000000000">&nbsp;</A>
55
55
<BR>
56
56
4.7.1 Classes
57
57
</H2>
58
58
 
59
59
<P>
60
60
<dl><dt><table cellpadding="0" cellspacing="0"><tr valign="baseline">
61
 
  <td><nobr><b><span class="typelabel">class</span>&nbsp;<tt id='l2h-189' xml:id='l2h-189' class="class">Cookie</tt></b>(</nobr></td>
62
 
  <td><var>name, value</var><big>[</big><var>, attributes</var><big>]</big><var></var>)</td></tr></table></dt>
 
61
  <td><nobr><b><span class="typelabel">class</span>&nbsp;<a name="l2h-200"><tt class="class">Cookie</tt></a></b>(</nobr></td>
 
62
  <td><var>name, value</var><big>[</big><var>, attributes</var><big>]</big>)</td></tr></table>
63
63
<dd>
64
64
 
65
65
<P>
101
101
 
102
102
<P>
103
103
<dl><dt><table cellpadding="0" cellspacing="0"><tr valign="baseline">
104
 
  <td><nobr><b><tt id='l2h-190' xml:id='l2h-190' class="method">parse</tt></b>(</nobr></td>
105
 
  <td><var>string</var>)</td></tr></table></dt>
 
104
  <td><nobr><b><a name="l2h-201"><tt class="method">parse</tt></a></b>(</nobr></td>
 
105
  <td><var>string</var>)</td></tr></table>
106
106
<dd>
107
107
    This is a class method that can be used to create a <tt class="class">Cookie</tt>
108
108
    instance from a cookie string <var>string</var> as passed in a header
139
139
 
140
140
<P>
141
141
<dl><dt><table cellpadding="0" cellspacing="0"><tr valign="baseline">
142
 
  <td><nobr><b><span class="typelabel">class</span>&nbsp;<tt id='l2h-191' xml:id='l2h-191' class="class">SignedCookie</tt></b>(</nobr></td>
143
 
  <td><var>name, value, secret</var><big>[</big><var>, attributes</var><big>]</big><var></var>)</td></tr></table></dt>
 
142
  <td><nobr><b><span class="typelabel">class</span>&nbsp;<a name="l2h-202"><tt class="class">SignedCookie</tt></a></b>(</nobr></td>
 
143
  <td><var>name, value, secret</var><big>[</big><var>, attributes</var><big>]</big>)</td></tr></table>
144
144
<dd>
145
145
 
146
146
<P>
150
150
 
151
151
<P>
152
152
<dl><dt><table cellpadding="0" cellspacing="0"><tr valign="baseline">
153
 
  <td><nobr><b><tt id='l2h-192' xml:id='l2h-192' class="method">parse</tt></b>(</nobr></td>
154
 
  <td><var>string, secret</var>)</td></tr></table></dt>
 
153
  <td><nobr><b><a name="l2h-203"><tt class="method">parse</tt></a></b>(</nobr></td>
 
154
  <td><var>string, secret</var>)</td></tr></table>
155
155
<dd>
156
156
    This method acts the same way as <tt class="class">Cookie.parse()</tt>, but also
157
157
    verifies that the cookie is correctly signed. If the signature
177
177
 
178
178
<P>
179
179
<dl><dt><table cellpadding="0" cellspacing="0"><tr valign="baseline">
180
 
  <td><nobr><b><span class="typelabel">class</span>&nbsp;<tt id='l2h-193' xml:id='l2h-193' class="class">MarshalCookie</tt></b>(</nobr></td>
181
 
  <td><var>name, value, secret</var><big>[</big><var>, attributes</var><big>]</big><var></var>)</td></tr></table></dt>
 
180
  <td><nobr><b><span class="typelabel">class</span>&nbsp;<a name="l2h-204"><tt class="class">MarshalCookie</tt></a></b>(</nobr></td>
 
181
  <td><var>name, value, secret</var><big>[</big><var>, attributes</var><big>]</big>)</td></tr></table>
182
182
<dd>
183
183
 
184
184
<P>
202
202
<P>
203
203
 
204
204
<DIV CLASS="navigation">
205
 
<div class='online-navigation'>
206
 
<p></p><hr />
 
205
<p><hr>
207
206
<table align="center" width="100%" cellpadding="0" cellspacing="2">
208
207
<tr>
209
 
<td class='online-navigation'><a rel="prev" title="4.7 Cookie - HTTP"
210
 
  href="pyapi-cookie.html"><img src='previous.png'
211
 
  border='0' height='32'  alt='Previous Page' width='32' /></A></td>
212
 
<td class='online-navigation'><a rel="parent" title="4.7 Cookie - HTTP"
213
 
  href="pyapi-cookie.html"><img src='up.png'
214
 
  border='0' height='32'  alt='Up One Level' width='32' /></A></td>
215
 
<td class='online-navigation'><a rel="next" title="4.7.2 Functions"
216
 
  href="pyapi-cookie-func.html"><img src='next.png'
217
 
  border='0' height='32'  alt='Next Page' width='32' /></A></td>
 
208
<td><a rel="prev" title="4.7 Cookie - HTTP" 
 
209
  rel="prev" title="4.7 Cookie - HTTP" 
 
210
  href="pyapi-cookie.html"><img src='previous.gif'
 
211
  border='0' height='32'  alt='Previous Page' width='32'></A></td>
 
212
<td><a rel="parent" title="4.7 Cookie - HTTP" 
 
213
  rel="parent" title="4.7 Cookie - HTTP" 
 
214
  href="pyapi-cookie.html"><img src='up.gif'
 
215
  border='0' height='32'  alt='Up One Level' width='32'></A></td>
 
216
<td><a rel="next" title="4.7.2 Functions" 
 
217
  rel="next" title="4.7.2 Functions" 
 
218
  href="pyapi-cookie-func.html"><img src='next.gif'
 
219
  border='0' height='32'  alt='Next Page' width='32'></A></td>
218
220
<td align="center" width="100%">Mod_python Manual</td>
219
 
<td class='online-navigation'><a rel="contents" title="Table of Contents"
220
 
  href="contents.html"><img src='contents.png'
221
 
  border='0' height='32'  alt='Contents' width='32' /></A></td>
222
 
<td class='online-navigation'><img src='blank.png'
223
 
  border='0' height='32'  alt='' width='32' /></td>
224
 
<td class='online-navigation'><a rel="index" title="Index"
225
 
  href="genindex.html"><img src='index.png'
226
 
  border='0' height='32'  alt='Index' width='32' /></A></td>
 
221
<td><a rel="contents" title="Table of Contents" 
 
222
  rel="contents" title="Table of Contents" 
 
223
  href="contents.html"><img src='contents.gif'
 
224
  border='0' height='32'  alt='Contents' width='32'></A></td>
 
225
<td><img src='blank.gif'
 
226
  border='0' height='32'  alt='' width='32'></td>
 
227
<td><a rel="index" title="Index" 
 
228
  rel="index" title="Index" 
 
229
  href="genindex.html"><img src='index.gif'
 
230
  border='0' height='32'  alt='Index' width='32'></A></td>
227
231
</tr></table>
228
 
<div class='online-navigation'>
229
232
<b class="navlabel">Previous:</b>
230
233
<a class="sectref" rel="prev" href="pyapi-cookie.html">4.7 Cookie - HTTP</A>
231
234
<b class="navlabel">Up:</b>
232
235
<a class="sectref" rel="parent" href="pyapi-cookie.html">4.7 Cookie - HTTP</A>
233
236
<b class="navlabel">Next:</b>
234
237
<a class="sectref" rel="next" href="pyapi-cookie-func.html">4.7.2 Functions</A>
235
 
</div>
236
 
</div>
237
 
<hr />
238
 
<span class="release-info">Release 3.1.3, documentation updated on January 29, 2005.</span>
 
238
<hr>
 
239
<span class="release-info">Release 3.2.8, documentation updated on February 19, 2006.</span>
239
240
</DIV>
240
241
<!--End of Navigation Panel-->
241
242