<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html> <head> <title>4.6 util - Miscellaneous Utilities</title> <META NAME="description" CONTENT="4.6 util - Miscellaneous Utilities"> <META NAME="keywords" CONTENT="modpython"> <META NAME="resource-type" CONTENT="document"> <META NAME="distribution" CONTENT="global"> <link rel="STYLESHEET" href="modpython.css"> <link rel="first" href="modpython.html"> <link rel="contents" href="contents.html" title="Contents"> <link rel="index" href="genindex.html" title="Index"> <LINK REL="next" href="pyapi-cookie.html"> <LINK REL="previous" href="module-apache.html"> <LINK REL="up" href="pythonapi.html"> <LINK REL="next" href="pyapi-util-fstor.html"> </head> <body> <DIV CLASS="navigation"> <table align="center" width="100%" cellpadding="0" cellspacing="2"> <tr> <td><A href="pyapi-mpsrv-mem.html"><img src="icons/previous.png" border="0" height="32" alt="Previous Page" width="32"></A></td> <td><A href="pythonapi.html"><img src="icons/up.png" border="0" height="32" alt="Up One Level" width="32"></A></td> <td><A href="pyapi-util-fstor.html"><img src="icons/next.png" border="0" height="32" alt="Next Page" width="32"></A></td> <td align="center" width="100%">Mod_python Manual</td> <td><A href="contents.html"><img src="icons/contents.png" border="0" height="32" alt="Contents" width="32"></A></td> <td><img src="icons/blank.png" border="0" height="32" alt="" width="32"></td> <td><A href="genindex.html"><img src="icons/index.png" border="0" height="32" alt="Index" width="32"></A></td> </tr></table> <b class="navlabel">Previous:</b> <a class="sectref" href="pyapi-mpsrv-mem.html">4.5.6.2 Server Members</A> <b class="navlabel">Up:</b> <a class="sectref" href="pythonapi.html">4. Python API</A> <b class="navlabel">Next:</b> <a class="sectref" href="pyapi-util-fstor.html">4.6.1 FieldStorage class</A> <br><hr> </DIV> <!--End of Navigation Panel--> <H1><A NAME="SECTION006600000000000000000"> </A> <BR> 4.6 <tt class="module">util</tt> - Miscellaneous Utilities </H1> <P> The <tt class="module">util</tt> module provides a number of utilities handy to a web application developer similar to those in the standard library <tt class="module">cgi</tt> module. The implementations in the <tt class="module">util</tt> module are much more efficient because they call directly into Apache API's as opposed to using CGI which relies on the environment to pass information. <P> The recommended way of using this module is: <dl><dd><pre class="verbatim"> from mod_python import util </pre></dl> <P> <div class="seealso"> <p class="heading"><b>See Also:</b></p> <dl compact class="seetitle"> <dt><em class="citetitle"><a href="http://CGI-Spec.Golux.Com/" >Common Gateway Interface RFC Project Page</a></em> <dd>for detailed information on the CGI specification </dl> </div> <P> <p><hr> <!--Table of Child-Links--> <A NAME="CHILD_LINKS"><STRONG>Subsections</STRONG></a> <UL CLASS="ChildLinks"> <LI><A href="pyapi-util-fstor.html">4.6.1 FieldStorage class</a> <LI><A href="pyapi-util-fstor-fld.html">4.6.2 Field class</a> <LI><A href="pyapi-util-funcs.html">4.6.3 Other functions</a> </ul> <!--End of Table of Child-Links--> <DIV CLASS="navigation"> <p><hr> <table align="center" width="100%" cellpadding="0" cellspacing="2"> <tr> <td><A href="pyapi-mpsrv-mem.html"><img src="icons/previous.png" border="0" height="32" alt="Previous Page" width="32"></A></td> <td><A href="pythonapi.html"><img src="icons/up.png" border="0" height="32" alt="Up One Level" width="32"></A></td> <td><A href="pyapi-util-fstor.html"><img src="icons/next.png" border="0" height="32" alt="Next Page" width="32"></A></td> <td align="center" width="100%">Mod_python Manual</td> <td><A href="contents.html"><img src="icons/contents.png" border="0" height="32" alt="Contents" width="32"></A></td> <td><img src="icons/blank.png" border="0" height="32" alt="" width="32"></td> <td><A href="genindex.html"><img src="icons/index.png" border="0" height="32" alt="Index" width="32"></A></td> </tr></table> <b class="navlabel">Previous:</b> <a class="sectref" href="pyapi-mpsrv-mem.html">4.5.6.2 Server Members</A> <b class="navlabel">Up:</b> <a class="sectref" href="pythonapi.html">4. Python API</A> <b class="navlabel">Next:</b> <a class="sectref" href="pyapi-util-fstor.html">4.6.1 FieldStorage class</A> <hr> <span class="release-info">Release 3.1.0a, documentation updated on August 26, 2003.</span> </DIV> <!--End of Navigation Panel--> </BODY> </HTML>