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

« back to all changes in this revision

Viewing changes to doc-html/pyapi-mptable.html

  • Committer: Bazaar Package Importer
  • Author(s): Piotr Ożarowski
  • Date: 2007-04-12 20:52:05 UTC
  • mfrom: (1.2.4 upstream) (1.1.2 etch)
  • Revision ID: james.westby@ubuntu.com-20070412205205-j4qlsw3o4tl615iq
Tags: 3.3.1-1
* New upstream release
* Remove configure and mod_python.h files in clean rule to make the diff.gz
  file smaller
* Current Python version in libapache2-mod-pythonX.Y package name (Provides:
  field) filled in automatically.
* Added XS-Vcs-Browser field

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-mprequest.html">
11
 
<LINK REL="prev" href="pyapi-apmeth.html">
12
 
<LINK REL="parent" href="module-apache.html">
13
 
<LINK REL="next" href="pyapi-mprequest.html">
14
 
<meta name='aesop' content='information'>
15
 
<META NAME="description" CONTENT="Table Object (mp_table)&nbsp;">
16
 
<META NAME="keywords" CONTENT="modpython">
17
 
<META NAME="resource-type" CONTENT="document">
18
 
<META NAME="distribution" CONTENT="global">
19
 
<title>4.5.2 Table Object (mp_table)&nbsp;</title>
 
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-mprequest.html" />
 
11
<link rel="prev" href="pyapi-apmem.html" />
 
12
<link rel="parent" href="module-apache.html" />
 
13
<link rel="next" href="pyapi-mprequest.html" />
 
14
<meta name='aesop' content='information' />
 
15
<title>4.5.3 Table Object (mp_table)</title>
20
16
</head>
21
17
<body>
22
18
<DIV CLASS="navigation">
 
19
<div id='top-navigation-panel' xml:id='top-navigation-panel'>
23
20
<table align="center" width="100%" cellpadding="0" cellspacing="2">
24
21
<tr>
25
 
<td><a rel="prev" title="4.5.1 Functions" 
26
 
  href="pyapi-apmeth.html"><img src='previous.gif'
27
 
  border='0' height='32'  alt='Previous Page' width='32'></A></td>
28
 
<td><a rel="parent" title="4.5 apache - Access" 
29
 
  href="module-apache.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.5.3 Request Object&nbsp;" 
32
 
  href="pyapi-mprequest.html"><img src='next.gif'
33
 
  border='0' height='32'  alt='Next Page' width='32'></A></td>
 
22
<td class='online-navigation'><a rel="prev" title="4.5.2 Attributes"
 
23
  href="pyapi-apmem.html"><img src='previous.png'
 
24
  border='0' height='32'  alt='Previous Page' width='32' /></A></td>
 
25
<td class='online-navigation'><a rel="parent" title="4.5 apache - Access"
 
26
  href="module-apache.html"><img src='up.png'
 
27
  border='0' height='32'  alt='Up One Level' width='32' /></A></td>
 
28
<td class='online-navigation'><a rel="next" title="4.5.4 Request Object"
 
29
  href="pyapi-mprequest.html"><img src='next.png'
 
30
  border='0' height='32'  alt='Next Page' width='32' /></A></td>
34
31
<td align="center" width="100%">Mod_python Manual</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>
 
32
<td class='online-navigation'><a rel="contents" title="Table of Contents"
 
33
  href="contents.html"><img src='contents.png'
 
34
  border='0' height='32'  alt='Contents' width='32' /></A></td>
 
35
<td class='online-navigation'><img src='blank.png'
 
36
  border='0' height='32'  alt='' width='32' /></td>
 
37
<td class='online-navigation'><a rel="index" title="Index"
 
38
  href="genindex.html"><img src='index.png'
 
39
  border='0' height='32'  alt='Index' width='32' /></A></td>
43
40
</tr></table>
 
41
<div class='online-navigation'>
44
42
<b class="navlabel">Previous:</b>
45
 
<a class="sectref" rel="prev" href="pyapi-apmeth.html">4.5.1 Functions</A>
 
43
<a class="sectref" rel="prev" href="pyapi-apmem.html">4.5.2 Attributes</A>
46
44
<b class="navlabel">Up:</b>
47
45
<a class="sectref" rel="parent" href="module-apache.html">4.5 apache - Access</A>
48
46
<b class="navlabel">Next:</b>
49
 
<a class="sectref" rel="next" href="pyapi-mprequest.html">4.5.3 Request Object&nbsp;</A>
50
 
<br><hr>
 
47
<a class="sectref" rel="next" href="pyapi-mprequest.html">4.5.4 Request Object</A>
 
48
</div>
 
49
<hr /></div>
51
50
</DIV>
52
51
<!--End of Navigation Panel-->
53
52
 
54
 
<H2><A NAME="SECTION006520000000000000000">&nbsp;</A>
 
53
<H2><A NAME="SECTION006530000000000000000"></A><A NAME="pyapi-mptable"></A>
55
54
<BR>
56
 
4.5.2 Table Object (mp_table)<a name="l2h-40">&nbsp;</a>
 
55
4.5.3 Table Object (mp_table)<a id='l2h-43' xml:id='l2h-43'></a>
57
56
</H2>
58
57
 
59
58
<P>
60
 
<a name="l2h-43">&nbsp;</a>
 
59
<a id='l2h-46' xml:id='l2h-46'></a>
61
60
<dl><dt><table cellpadding="0" cellspacing="0"><tr valign="baseline">
62
 
  <td><nobr><b><span class="typelabel">class</span>&nbsp;<a name="l2h-41"><tt class="class">table</tt></a></b>(</nobr></td>
63
 
  <td><big>[</big><var>mapping-or-sequence</var><big>]</big>)</td></tr></table>
 
61
  <td><nobr><b><span class="typelabel">class</span>&nbsp;<tt id='l2h-44' xml:id='l2h-44' class="class">table</tt></b>(</nobr></td>
 
62
  <td><var></var><big>[</big><var>mapping-or-sequence</var><big>]</big><var></var>)</td></tr></table></dt>
64
63
<dd>
65
64
  Returns a new empty object of type <code>mp_table</code>. See Section
66
 
  <A HREF="#pyapi-mptable">4.5.2</A> for description of the table object. The
 
65
  <A HREF="#pyapi-mptable">4.5.3</A> for description of the table object. The
67
66
  <var>mapping-or-sequence</var> will be used to provide initial values for
68
67
  the table.  
69
68
 
101
100
 
102
101
<P>
103
102
<dl><dt><table cellpadding="0" cellspacing="0"><tr valign="baseline">
104
 
  <td><nobr><b><a name="l2h-42"><tt class="method">add</tt></a></b>(</nobr></td>
105
 
  <td><var>key, val</var>)</td></tr></table>
 
103
  <td><nobr><b><tt id='l2h-45' xml:id='l2h-45' class="method">add</tt></b>(</nobr></td>
 
104
  <td><var>key, val</var>)</td></tr></table></dt>
106
105
<dd>
107
106
    <tt class="function">add()</tt> allows for creating duplicate keys, which is useful 
108
107
    when multiple headers, such as <code>Set-Cookie:</code> are required.
117
116
<P>
118
117
 
119
118
<DIV CLASS="navigation">
120
 
<p><hr>
 
119
<div class='online-navigation'>
 
120
<p></p><hr />
121
121
<table align="center" width="100%" cellpadding="0" cellspacing="2">
122
122
<tr>
123
 
<td><a rel="prev" title="4.5.1 Functions" 
124
 
  rel="prev" title="4.5.1 Functions" 
125
 
  href="pyapi-apmeth.html"><img src='previous.gif'
126
 
  border='0' height='32'  alt='Previous Page' width='32'></A></td>
127
 
<td><a rel="parent" title="4.5 apache - Access" 
128
 
  rel="parent" title="4.5 apache - Access" 
129
 
  href="module-apache.html"><img src='up.gif'
130
 
  border='0' height='32'  alt='Up One Level' width='32'></A></td>
131
 
<td><a rel="next" title="4.5.3 Request Object&nbsp;" 
132
 
  rel="next" title="4.5.3 Request Object&nbsp;" 
133
 
  href="pyapi-mprequest.html"><img src='next.gif'
134
 
  border='0' height='32'  alt='Next Page' width='32'></A></td>
 
123
<td class='online-navigation'><a rel="prev" title="4.5.2 Attributes"
 
124
  href="pyapi-apmem.html"><img src='previous.png'
 
125
  border='0' height='32'  alt='Previous Page' width='32' /></A></td>
 
126
<td class='online-navigation'><a rel="parent" title="4.5 apache - Access"
 
127
  href="module-apache.html"><img src='up.png'
 
128
  border='0' height='32'  alt='Up One Level' width='32' /></A></td>
 
129
<td class='online-navigation'><a rel="next" title="4.5.4 Request Object"
 
130
  href="pyapi-mprequest.html"><img src='next.png'
 
131
  border='0' height='32'  alt='Next Page' width='32' /></A></td>
135
132
<td align="center" width="100%">Mod_python Manual</td>
136
 
<td><a rel="contents" title="Table of Contents" 
137
 
  rel="contents" title="Table of Contents" 
138
 
  href="contents.html"><img src='contents.gif'
139
 
  border='0' height='32'  alt='Contents' width='32'></A></td>
140
 
<td><img src='blank.gif'
141
 
  border='0' height='32'  alt='' width='32'></td>
142
 
<td><a rel="index" title="Index" 
143
 
  rel="index" title="Index" 
144
 
  href="genindex.html"><img src='index.gif'
145
 
  border='0' height='32'  alt='Index' width='32'></A></td>
 
133
<td class='online-navigation'><a rel="contents" title="Table of Contents"
 
134
  href="contents.html"><img src='contents.png'
 
135
  border='0' height='32'  alt='Contents' width='32' /></A></td>
 
136
<td class='online-navigation'><img src='blank.png'
 
137
  border='0' height='32'  alt='' width='32' /></td>
 
138
<td class='online-navigation'><a rel="index" title="Index"
 
139
  href="genindex.html"><img src='index.png'
 
140
  border='0' height='32'  alt='Index' width='32' /></A></td>
146
141
</tr></table>
 
142
<div class='online-navigation'>
147
143
<b class="navlabel">Previous:</b>
148
 
<a class="sectref" rel="prev" href="pyapi-apmeth.html">4.5.1 Functions</A>
 
144
<a class="sectref" rel="prev" href="pyapi-apmem.html">4.5.2 Attributes</A>
149
145
<b class="navlabel">Up:</b>
150
146
<a class="sectref" rel="parent" href="module-apache.html">4.5 apache - Access</A>
151
147
<b class="navlabel">Next:</b>
152
 
<a class="sectref" rel="next" href="pyapi-mprequest.html">4.5.3 Request Object&nbsp;</A>
153
 
<hr>
154
 
<span class="release-info">Release 3.2.10, documentation updated on July 19, 2006.</span>
 
148
<a class="sectref" rel="next" href="pyapi-mprequest.html">4.5.4 Request Object</A>
 
149
</div>
 
150
</div>
 
151
<hr />
 
152
<span class="release-info">Release 3.3.1, documentation updated on January 29, 2007.</span>
155
153
</DIV>
156
154
<!--End of Navigation Panel-->
157
155