summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorGustavo Niemeyer <gustavo@niemeyer.net>2003-06-07 17:53:08 (GMT)
committerGustavo Niemeyer <gustavo@niemeyer.net>2003-06-07 17:53:08 (GMT)
commit9556fba68528e46873bf59c4e4642525adfd388b (patch)
treeffc5e07aec5a1e0e0884f0a37d995253850ea804 /Doc
parentef58adf8d6828475a95b36b390d6b788e0894c99 (diff)
downloadcpython-9556fba68528e46873bf59c4e4642525adfd388b.zip
cpython-9556fba68528e46873bf59c4e4642525adfd388b.tar.gz
cpython-9556fba68528e46873bf59c4e4642525adfd388b.tar.bz2
- urllib2.py now knows how to order proxy classes, so the user doesn't
have to insert it in front of other classes, nor do dirty tricks like inserting a "dummy" HTTPHandler after a ProxyHandler when building an opener with proxy support.
Diffstat (limited to 'Doc')
-rw-r--r--Doc/lib/liburllib2.tex5
1 files changed, 5 insertions, 0 deletions
diff --git a/Doc/lib/liburllib2.tex b/Doc/lib/liburllib2.tex
index 48afc9b..f88fd25 100644
--- a/Doc/lib/liburllib2.tex
+++ b/Doc/lib/liburllib2.tex
@@ -56,6 +56,11 @@ them, instances of them or subclasses of them:
If the Python installation has SSL support (\function{socket.ssl()}
exists), \class{HTTPSHandler} will also be added.
+
+Beginning in Python 2.3, a \class{BaseHandler} subclass may also change its
+\var{handler_order} member variable to modify its position in the handlers
+list. Besides \class{ProxyHandler}, which has \var{handler_order} of
+\code{100}, all handlers currently have it set to \code{500}.
\end{funcdesc}