1
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
4
<title>4.6 util - Miscellaneous Utilities</title>
5
<META NAME="description" CONTENT="4.6 util - Miscellaneous Utilities">
6
<META NAME="keywords" CONTENT="modpython">
7
<META NAME="resource-type" CONTENT="document">
8
<META NAME="distribution" CONTENT="global">
9
<link rel="STYLESHEET" href="modpython.css">
10
<link rel="first" href="modpython.html">
11
<link rel="contents" href="contents.html" title="Contents">
12
<link rel="index" href="genindex.html" title="Index">
13
<LINK REL="next" href="pyapi-cookie.html">
14
<LINK REL="previous" href="module-apache.html">
15
<LINK REL="up" href="pythonapi.html">
16
<LINK REL="next" href="pyapi-util-fstor.html">
19
<DIV CLASS="navigation">
20
<table align="center" width="100%" cellpadding="0" cellspacing="2">
22
<td><A href="pyapi-mpsrv-mem.html"><img src="icons/previous.gif"
23
border="0" height="32"
24
alt="Previous Page" width="32"></A></td>
25
<td><A href="pythonapi.html"><img src="icons/up.gif"
26
border="0" height="32"
27
alt="Up One Level" width="32"></A></td>
28
<td><A href="pyapi-util-fstor.html"><img src="icons/next.gif"
29
border="0" height="32"
30
alt="Next Page" width="32"></A></td>
31
<td align="center" width="100%">Mod_python Manual</td>
32
<td><A href="contents.html"><img src="icons/contents.gif"
33
border="0" height="32"
34
alt="Contents" width="32"></A></td>
35
<td><img src="icons/blank.gif"
36
border="0" height="32"
37
alt="" width="32"></td>
38
<td><A href="genindex.html"><img src="icons/index.gif"
39
border="0" height="32"
40
alt="Index" width="32"></A></td>
42
<b class="navlabel">Previous:</b> <a class="sectref" href="pyapi-mpsrv-mem.html">4.5.6.2 Server Members</A>
43
<b class="navlabel">Up:</b> <a class="sectref" href="pythonapi.html">4. Python API</A>
44
<b class="navlabel">Next:</b> <a class="sectref" href="pyapi-util-fstor.html">4.6.1 FieldStorage class</A>
47
<!--End of Navigation Panel-->
49
<H1><A NAME="SECTION006600000000000000000"> </A>
51
4.6 <tt class="module">util</tt> - Miscellaneous Utilities
56
The <tt class="module">util</tt> module provides a number of utilities handy to a web
57
application developer similar to those in the standard library
58
<tt class="module">cgi</tt> module. The implementations in the <tt class="module">util</tt> module
59
are much more efficient because they call directly into Apache API's
60
as opposed to using CGI which relies on the environment to pass
64
The recommended way of using this module is:
65
<dl><dd><pre class="verbatim">
66
from mod_python import util
71
<p class="heading"><b>See Also:</b></p>
73
<dl compact class="seetitle">
74
<dt><em class="citetitle"><a href="http://CGI-Spec.Golux.Com/"
75
>Common Gateway Interface RFC Project Page</a></em>
76
<dd>for detailed information on the CGI specification
83
<!--Table of Child-Links-->
84
<A NAME="CHILD_LINKS"><STRONG>Subsections</STRONG></a>
86
<UL CLASS="ChildLinks">
87
<LI><A href="pyapi-util-fstor.html">4.6.1 FieldStorage class</a>
88
<LI><A href="pyapi-util-fstor-fld.html">4.6.2 Field class</a>
89
<LI><A href="pyapi-util-funcs.html">4.6.3 Other functions</a>
91
<!--End of Table of Child-Links-->
93
<DIV CLASS="navigation">
95
<table align="center" width="100%" cellpadding="0" cellspacing="2">
97
<td><A href="pyapi-mpsrv-mem.html"><img src="icons/previous.gif"
98
border="0" height="32"
99
alt="Previous Page" width="32"></A></td>
100
<td><A href="pythonapi.html"><img src="icons/up.gif"
101
border="0" height="32"
102
alt="Up One Level" width="32"></A></td>
103
<td><A href="pyapi-util-fstor.html"><img src="icons/next.gif"
104
border="0" height="32"
105
alt="Next Page" width="32"></A></td>
106
<td align="center" width="100%">Mod_python Manual</td>
107
<td><A href="contents.html"><img src="icons/contents.gif"
108
border="0" height="32"
109
alt="Contents" width="32"></A></td>
110
<td><img src="icons/blank.gif"
111
border="0" height="32"
112
alt="" width="32"></td>
113
<td><A href="genindex.html"><img src="icons/index.gif"
114
border="0" height="32"
115
alt="Index" width="32"></A></td>
117
<b class="navlabel">Previous:</b> <a class="sectref" href="pyapi-mpsrv-mem.html">4.5.6.2 Server Members</A>
118
<b class="navlabel">Up:</b> <a class="sectref" href="pythonapi.html">4. Python API</A>
119
<b class="navlabel">Next:</b> <a class="sectref" href="pyapi-util-fstor.html">4.6.1 FieldStorage class</A>
121
<span class="release-info">Release 3.1.3, documentation updated on February 17, 2004.</span>
123
<!--End of Navigation Panel-->