Package DebTorrent :: Module zurllib
[hide private]
[frames] | no frames]

Module zurllib

source code

A high-level fetcher for WWW data, similar to the urllib module.

Classes [hide private]
  btHTTPcon
Attempt to add automatic connection timeout to HTTPConnection.
  btHTTPScon
Attempt to add automatic connection timeout to HTTPSConnection.
  urlopen
Opens a URL for reading.
Variables [hide private]
string VERSION = 'DebTorrent/T-0.1.4'
the User-Agent header to send on all connections
int MAX_REDIRECTS = 10
the maximum number of redirects to follow

Imports: httplib.HTTPConnection, httplib.HTTPSConnection, httplib.HTTPException, urlparse.urlparse, bencode.bdecode, socket, gzip.GzipFile, StringIO.StringIO, urllib.quote, urllib.unquote, __init__.product_name, __init__.version_short