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

« back to all changes in this revision

Viewing changes to doc-html/pyapi-filter.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-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>
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.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>
43
40
</tr></table>
 
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>
50
 
<br><hr>
 
48
</div>
 
49
<hr /></div>
51
50
</DIV>
52
51
<!--End of Navigation Panel-->
53
52
 
54
 
<H1><A NAME="SECTION006300000000000000000">&nbsp;</A>
 
53
<H1><A NAME="SECTION006300000000000000000"></A><A NAME="pyapi-filter"></A>
55
54
<BR>
56
55
4.3 Overview of a Filter Handler
57
56
</H1>
58
 
<a name="l2h-27">&nbsp;</a>
 
57
<a id='l2h-27' xml:id='l2h-27'></a>
59
58
<P>
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
69
68
in the future.
70
69
 
71
70
<P>
72
 
A filter handler receives a <i>filter</i> object as its argument. The
 
71
A filter handler receives a <em>filter</em> object as its argument. The
73
72
request object is available as well via <code>filter.req</code>, but all
74
73
writing and reading should be done via the filter's object read and
75
74
write methods.
144
143
<P>
145
144
 
146
145
<DIV CLASS="navigation">
147
 
<p><hr>
 
146
<div class='online-navigation'>
 
147
<p></p><hr />
148
148
<table align="center" width="100%" cellpadding="0" cellspacing="2">
149
149
<tr>
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>
173
168
</tr></table>
 
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>
180
 
<hr>
181
 
<span class="release-info">Release 3.2.10, documentation updated on July 19, 2006.</span>
 
176
</div>
 
177
</div>
 
178
<hr />
 
179
<span class="release-info">Release 3.3.1, documentation updated on January 29, 2007.</span>
182
180
</DIV>
183
181
<!--End of Navigation Panel-->
184
182