You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mod_python-commits@quetz.apache.org by jg...@apache.org on 2005/12/18 22:44:49 UTC
svn commit: r357510 - in /httpd/mod_python/trunk/Doc: appendixc.tex
modpython4.tex
Author: jgallacher
Date: Sun Dec 18 13:44:46 2005
New Revision: 357510
URL: http://svn.apache.org/viewcvs?rev=357510&view=rev
Log:
Added description for request.content_languages, server.names and
server.wild_names.
Modified:
httpd/mod_python/trunk/Doc/appendixc.tex
httpd/mod_python/trunk/Doc/modpython4.tex
Modified: httpd/mod_python/trunk/Doc/appendixc.tex
URL: http://svn.apache.org/viewcvs/httpd/mod_python/trunk/Doc/appendixc.tex?rev=357510&r1=357509&r2=357510&view=diff
==============================================================================
--- httpd/mod_python/trunk/Doc/appendixc.tex (original)
+++ httpd/mod_python/trunk/Doc/appendixc.tex Sun Dec 18 13:44:46 2005
@@ -123,6 +123,10 @@
\item
Fixed \code{psp_parser.l} to properly escape \code{backslash-n}, \code{backslash-t}
and \code{backslash-r} character sequences.
+ \item
+ Fixed segfault bug when accessing some request object members
+ (allowed_methods, allowed_xmethods, content_languages) and some server
+ object members (names, wild_names).
\end{itemize}
\chapter{Changes from Previous Major Version (2.x)\label{app-changes}}
Modified: httpd/mod_python/trunk/Doc/modpython4.tex
URL: http://svn.apache.org/viewcvs/httpd/mod_python/trunk/Doc/modpython4.tex?rev=357510&r1=357509&r2=357510&view=diff
==============================================================================
--- httpd/mod_python/trunk/Doc/modpython4.tex (original)
+++ httpd/mod_python/trunk/Doc/modpython4.tex Sun Dec 18 13:44:46 2005
@@ -796,6 +796,7 @@
meaningless.
\end{methoddesc}
+
\subsubsection{Request Members\label{pyapi-mprequest-mem}}
\begin{memberdesc}[request]{connection}
@@ -1013,6 +1014,10 @@
content type by examining the first few bytes of the output.
\end{memberdesc}
+\begin{memberdesc}[request]{content_languages}
+ Tuple. List of strings representing the content languages.
+\end{memberdesc}
+
\begin{memberdesc}[request]{handler}
The name of the handler currently being processed. This is the handler
set by mod_mime, not the mod_python handler. In most cases it will be
@@ -1343,6 +1348,17 @@
\begin{memberdesc}[server]{server_hostname}
Value of the \code{ServerName} directive. Same as CGI \envvar{SERVER_NAME}.\emph{(Read-Only})
+\end{memberdesc}
+
+\begin{memberdesc}[server]{names}
+ Tuple. List of normal server names specified in the \code{ServerAlias}
+ directive. This list does not include wildcarded names, which are listed
+ separately in \code{wild_names}. \emph{(Read-Only)}
+\end{memberdesc}
+
+\begin{memberdesc}[server]{wild_names}
+ Tuple. List of wildcarded server names specified in the \code{ServerAlias}
+ directive. \emph{(Read-Only)}
\end{memberdesc}
\begin{memberdesc}[server]{port}