Uncomment wsgiref section

This commit is contained in:
Andrew M. Kuchling 2006-06-20 11:52:16 +00:00
parent f505e7fb30
commit f6856cef8e
1 changed files with 6 additions and 8 deletions

View File

@ -2074,10 +2074,9 @@ Marc-Andr\'e Lemburg.}
%======================================================================
%\subsection{The wsgiref package\label{module-wsgiref}}
\subsection{The wsgiref package\label{module-wsgiref}}
% XXX should this be in a PEP 333 section instead?
\begin{comment}
The Web Server Gateway Interface (WSGI) v1.0 defines a standard
interface between web servers and Python web applications and is
@ -2086,10 +2085,7 @@ implementation of the WSGI specification.
The package includes a basic HTTP server that will run a WSGI
application; this server is useful for debugging but isn't intended for
production use.
% XXX structure of WSGI applications?
% XXX provide an example using Django or some other framework?
production use. Setting up a server takes only a few lines of code:
\begin{verbatim}
from wsgiref import simple_server
@ -2102,17 +2098,19 @@ httpd = make_server(host, port, wsgi_app)
httpd.serve_forever()
\end{verbatim}
% XXX discuss structure of WSGI applications?
% XXX provide an example using Django or some other framework?
\begin{seealso}
\seeurl{http://www.wsgi.org}{A central web site for WSGI-related resources.}
\seepep{333}{Python Web Server Gateway Interface v1.0}{PEP written by
Phillip J. Eby.}
\end{seealso}
\end{comment}
% ======================================================================
\section{Build and C API Changes\label{build-api}}