diff options
author | Fred Drake <fdrake@acm.org> | 1998-05-07 01:49:07 +0000 |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 1998-05-07 01:49:07 +0000 |
commit | cda63cc875f54b047018cad362aa23d5493b97f3 (patch) | |
tree | f43f888293bb4046a7622dffefd561b669e993c2 /Doc/libgopherlib.tex | |
parent | bbe33c559403c7e06642111c494bd32d9abe528f (diff) | |
download | cpython-git-cda63cc875f54b047018cad362aa23d5493b97f3.tar.gz |
Relocating file to Doc/lib/
Diffstat (limited to 'Doc/libgopherlib.tex')
-rw-r--r-- | Doc/libgopherlib.tex | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/Doc/libgopherlib.tex b/Doc/libgopherlib.tex deleted file mode 100644 index 156d6d76fd..0000000000 --- a/Doc/libgopherlib.tex +++ /dev/null @@ -1,31 +0,0 @@ -\section{Standard Module \module{gopherlib}} -\label{module-gopherlib} -\stmodindex{gopherlib} -\indexii{Gopher}{protocol} - - -This module provides a minimal implementation of client side of the -the Gopher protocol. It is used by the module \code{urllib} to handle -URLs that use the Gopher protocol. - -The module defines the following functions: - -\begin{funcdesc}{send_selector}{selector, host\optional{, port}} -Send a \var{selector} string to the gopher server at \var{host} and -\var{port} (default \code{70}). Returns an open file object from -which the returned document can be read. -\end{funcdesc} - -\begin{funcdesc}{send_query}{selector, query, host\optional{, port}} -Send a \var{selector} string and a \var{query} string to a gopher -server at \var{host} and \var{port} (default \code{70}). Returns an -open file object from which the returned document can be read. -\end{funcdesc} - -Note that the data returned by the Gopher server can be of any type, -depending on the first character of the selector string. If the data -is text (first character of the selector is \samp{0}), lines are -terminated by CRLF, and the data is terminated by a line consisting of -a single \samp{.}, and a leading \samp{.} should be stripped from -lines that begin with \samp{..}. Directory listings (first character -of the selector is \samp{1}) are transferred using the same protocol. |