PyDocs

Internet Protocols and Support

urllib.response

Response classes used by urllib.

The base class, addbase, defines a minimal file-like interface,
including read() and readline().  The typical response object is an
addinfourl instance, which defines an info() method that returns
headers and a geturl() method that returns the url.
Symbols in urllib.response

a

addinfourl
class to add info() and geturl() methods to an open file.