1
1
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
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-conn.html">
11
<LINK REL="prev" href="pyapi-handler.html">
12
<LINK REL="parent" href="pythonapi.html">
13
<LINK REL="next" href="pyapi-conn.html">
14
<meta name='aesop' content='information'>
15
<META NAME="description" CONTENT="Overview of a Filter Handler">
16
<META NAME="keywords" CONTENT="modpython">
17
<META NAME="resource-type" CONTENT="document">
18
<META NAME="distribution" CONTENT="global">
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-conn.html" />
11
<link rel="prev" href="pyapi-handler.html" />
12
<link rel="parent" href="pythonapi.html" />
13
<link rel="next" href="pyapi-conn.html" />
14
<meta name='aesop' content='information' />
19
15
<title>4.3 Overview of a Filter Handler</title>
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">
25
<td><a rel="prev" title="4.2 Overview of a"
26
href="pyapi-handler.html"><img src='previous.gif'
27
border='0' height='32' alt='Previous Page' width='32'></A></td>
28
<td><a rel="parent" title="4. Python API"
29
href="pythonapi.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.4 Overview of a"
32
href="pyapi-conn.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.2 Overview of a"
23
href="pyapi-handler.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. Python API"
26
href="pythonapi.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.4 Overview of a"
29
href="pyapi-conn.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>
41
<div class='online-navigation'>
44
42
<b class="navlabel">Previous:</b>
45
43
<a class="sectref" rel="prev" href="pyapi-handler.html">4.2 Overview of a</A>
46
44
<b class="navlabel">Up:</b>
47
45
<a class="sectref" rel="parent" href="pythonapi.html">4. Python API</A>
48
46
<b class="navlabel">Next:</b>
49
47
<a class="sectref" rel="next" href="pyapi-conn.html">4.4 Overview of a</A>
52
51
<!--End of Navigation Panel-->
54
<H1><A NAME="SECTION006300000000000000000"> </A>
53
<H1><A NAME="SECTION006300000000000000000"></A><A NAME="pyapi-filter"></A>
56
55
4.3 Overview of a Filter Handler
58
<a name="l2h-27"> </a>
57
<a id='l2h-27' xml:id='l2h-27'></a>
60
59
A <i class="dfn">filter handler</i> is a function that can alter the input or the
61
60
output of the server. There are two kinds of filters - <i class="dfn">input</i> and
146
145
<DIV CLASS="navigation">
146
<div class='online-navigation'>
148
148
<table align="center" width="100%" cellpadding="0" cellspacing="2">
150
<td><a rel="prev" title="4.2 Overview of a"
151
rel="prev" title="4.2 Overview of a"
152
href="pyapi-handler.html"><img src='previous.gif'
153
border='0' height='32' alt='Previous Page' width='32'></A></td>
154
<td><a rel="parent" title="4. Python API"
155
rel="parent" title="4. Python API"
156
href="pythonapi.html"><img src='up.gif'
157
border='0' height='32' alt='Up One Level' width='32'></A></td>
158
<td><a rel="next" title="4.4 Overview of a"
159
rel="next" title="4.4 Overview of a"
160
href="pyapi-conn.html"><img src='next.gif'
161
border='0' height='32' alt='Next Page' width='32'></A></td>
150
<td class='online-navigation'><a rel="prev" title="4.2 Overview of a"
151
href="pyapi-handler.html"><img src='previous.png'
152
border='0' height='32' alt='Previous Page' width='32' /></A></td>
153
<td class='online-navigation'><a rel="parent" title="4. Python API"
154
href="pythonapi.html"><img src='up.png'
155
border='0' height='32' alt='Up One Level' width='32' /></A></td>
156
<td class='online-navigation'><a rel="next" title="4.4 Overview of a"
157
href="pyapi-conn.html"><img src='next.png'
158
border='0' height='32' alt='Next Page' width='32' /></A></td>
162
159
<td align="center" width="100%">Mod_python Manual</td>
163
<td><a rel="contents" title="Table of Contents"
164
rel="contents" title="Table of Contents"
165
href="contents.html"><img src='contents.gif'
166
border='0' height='32' alt='Contents' width='32'></A></td>
167
<td><img src='blank.gif'
168
border='0' height='32' alt='' width='32'></td>
169
<td><a rel="index" title="Index"
170
rel="index" title="Index"
171
href="genindex.html"><img src='index.gif'
172
border='0' height='32' alt='Index' width='32'></A></td>
160
<td class='online-navigation'><a rel="contents" title="Table of Contents"
161
href="contents.html"><img src='contents.png'
162
border='0' height='32' alt='Contents' width='32' /></A></td>
163
<td class='online-navigation'><img src='blank.png'
164
border='0' height='32' alt='' width='32' /></td>
165
<td class='online-navigation'><a rel="index" title="Index"
166
href="genindex.html"><img src='index.png'
167
border='0' height='32' alt='Index' width='32' /></A></td>
169
<div class='online-navigation'>
174
170
<b class="navlabel">Previous:</b>
175
171
<a class="sectref" rel="prev" href="pyapi-handler.html">4.2 Overview of a</A>
176
172
<b class="navlabel">Up:</b>
177
173
<a class="sectref" rel="parent" href="pythonapi.html">4. Python API</A>
178
174
<b class="navlabel">Next:</b>
179
175
<a class="sectref" rel="next" href="pyapi-conn.html">4.4 Overview of a</A>
181
<span class="release-info">Release 3.2.10, documentation updated on July 19, 2006.</span>
179
<span class="release-info">Release 3.3.1, documentation updated on January 29, 2007.</span>
183
181
<!--End of Navigation Panel-->