Back to index

python3.2  3.2.2
urllib.response Namespace Reference


class  addbase
class  addclosehook
class  addinfo
class  addinfourl

Detailed Description

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.