summaryrefslogtreecommitdiffstats
path: root/Lib/urllib
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/urllib')
-rw-r--r--Lib/urllib/request.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/Lib/urllib/request.py b/Lib/urllib/request.py
index 9f7ebd7..4ed46ff 100644
--- a/Lib/urllib/request.py
+++ b/Lib/urllib/request.py
@@ -30,7 +30,9 @@ handler, the argument will be installed instead of the default.
install_opener -- Installs a new opener as the default opener.
objects of interest:
-OpenerDirector --
+
+OpenerDirector -- Sets up the User-Agent as the Python-urllib and manages the
+Handler classes while dealing with both requests and responses.
Request -- An object that encapsulates the state of a request. The
state can be as simple as the URL. It can also include extra HTTP
@@ -398,7 +400,7 @@ def build_opener(*handlers):
"""Create an opener object from a list of handlers.
The opener will use several default handlers, including support
- for HTTP and FTP.
+ for HTTP, FTP and when applicable HTTPS.
If any of the handlers passed as arguments are subclasses of the
default handlers, the default handlers will not be used.