[Python-checkins] python/dist/src/Doc/lib libhttplib.tex,1.31,1.32

montanaro@users.sourceforge.net montanaro@users.sourceforge.net
Mon, 27 Jan 2003 07:00:43 -0800


Update of /cvsroot/python/python/dist/src/Doc/lib
In directory sc8-pr-cvs1:/tmp/cvs-serv21074

Modified Files:
	libhttplib.tex 
Log Message:
* add \versionadded{} strings as appropriate
* remove doc for defunct IllegalKeywordArgument exception
* add note that HTTP class is for backward compatibility and refer reader to
  online docstrings for help


Index: libhttplib.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/libhttplib.tex,v
retrieving revision 1.31
retrieving revision 1.32
diff -C2 -d -r1.31 -r1.32
*** libhttplib.tex	24 Mar 2002 16:55:57 -0000	1.31
--- libhttplib.tex	27 Jan 2003 15:00:38 -0000	1.32
***************
*** 13,17 ****
  that use HTTP and HTTPS.  \note{HTTPS support is only
  available if the \refmodule{socket} module was compiled with SSL
! support.}
  
  The constants defined in this module are:
--- 13,19 ----
  that use HTTP and HTTPS.  \note{HTTPS support is only
  available if the \refmodule{socket} module was compiled with SSL
! support.}  \note{The \class{HTTP} class is retained only for backward
! compatibility with 1.5.2.  It should not be used in new code.  Refer to the
! online docstrings for usage.}
  
  The constants defined in this module are:
***************
*** 40,43 ****
--- 42,46 ----
  >>> h3 = httplib.HTTPConnection('www.cwi.nl', 80)
  \end{verbatim}
+ \versionadded{2.0}
  \end{classdesc}
  
***************
*** 45,48 ****
--- 48,58 ----
  A subclass of \class{HTTPConnection} that uses SSL for communication with
  secure servers.  Default port is \code{443}.
+ \versionadded{2.0}
+ \end{classdesc}
+ 
+ \begin{classdesc}{HTTPResponse}{sock\optional{, debuglevel=0}\optional{, strict=0}}
+ Class whose instances are returned upon successful connection.  Not
+ instantiated directly by user.
+ \versionadded{2.0}
  \end{classdesc}
  
***************
*** 52,59 ****
--- 62,71 ----
  The base class of the other exceptions in this module.  It is a
  subclass of \exception{Exception}.
+ \versionadded{2.0}
  \end{excdesc}
  
  \begin{excdesc}{NotConnected}
  A subclass of \exception{HTTPException}.
+ \versionadded{2.0}
  \end{excdesc}
  
***************
*** 61,100 ****
  A subclass of \exception{HTTPException}, raised if a port is given and is
  either non-numeric or empty.
  \end{excdesc}
  
  \begin{excdesc}{UnknownProtocol}
  A subclass of \exception{HTTPException}.
  \end{excdesc}
  
  \begin{excdesc}{UnknownTransferEncoding}
  A subclass of \exception{HTTPException}.
! \end{excdesc}
! 
! \begin{excdesc}{IllegalKeywordArgument}
! A subclass of \exception{HTTPException}.
  \end{excdesc}
  
  \begin{excdesc}{UnimplementedFileMode}
  A subclass of \exception{HTTPException}.
  \end{excdesc}
  
  \begin{excdesc}{IncompleteRead}
  A subclass of \exception{HTTPException}.
  \end{excdesc}
  
  \begin{excdesc}{ImproperConnectionState}
  A subclass of \exception{HTTPException}.
  \end{excdesc}
  
  \begin{excdesc}{CannotSendRequest}
  A subclass of \exception{ImproperConnectionState}.
  \end{excdesc}
  
  \begin{excdesc}{CannotSendHeader}
  A subclass of \exception{ImproperConnectionState}.
  \end{excdesc}
  
  \begin{excdesc}{ResponseNotReady}
  A subclass of \exception{ImproperConnectionState}.
  \end{excdesc}
  
--- 73,117 ----
  A subclass of \exception{HTTPException}, raised if a port is given and is
  either non-numeric or empty.
+ \versionadded{2.3}
  \end{excdesc}
  
  \begin{excdesc}{UnknownProtocol}
  A subclass of \exception{HTTPException}.
+ \versionadded{2.0}
  \end{excdesc}
  
  \begin{excdesc}{UnknownTransferEncoding}
  A subclass of \exception{HTTPException}.
! \versionadded{2.0}
  \end{excdesc}
  
  \begin{excdesc}{UnimplementedFileMode}
  A subclass of \exception{HTTPException}.
+ \versionadded{2.0}
  \end{excdesc}
  
  \begin{excdesc}{IncompleteRead}
  A subclass of \exception{HTTPException}.
+ \versionadded{2.0}
  \end{excdesc}
  
  \begin{excdesc}{ImproperConnectionState}
  A subclass of \exception{HTTPException}.
+ \versionadded{2.0}
  \end{excdesc}
  
  \begin{excdesc}{CannotSendRequest}
  A subclass of \exception{ImproperConnectionState}.
+ \versionadded{2.0}
  \end{excdesc}
  
  \begin{excdesc}{CannotSendHeader}
  A subclass of \exception{ImproperConnectionState}.
+ \versionadded{2.0}
  \end{excdesc}
  
  \begin{excdesc}{ResponseNotReady}
  A subclass of \exception{ImproperConnectionState}.
+ \versionadded{2.0}
  \end{excdesc}
  
***************
*** 102,105 ****
--- 119,123 ----
  A subclass of \exception{HTTPException}.  Raised if a server responds with a
  HTTP status code that we don't understand.
+ \versionadded{2.0}
  \end{excdesc}