cdurllib

CDURLopener.addheader(*args)

Add a header to be used by the HTTP interface only e.g.

CDURLopener.http_error_default(url, fp, …)

Default error handler: close the connection and raise OSError.

CDURLopener.http_error(url, fp, errcode, …)

Handle http errors.

CDURLopener.open_data(url[, data])

Use “data” URL.

CDURLopener.open_file(url)

Use local file or FTP depending on form of URL.

CDURLopener._open_generic_http(…)

Make an HTTP connection using connection_class.

CDURLopener.open_http(url[, data])

Use HTTP protocol.

CDURLopener.open_https(url[, data])

Use HTTPS protocol.

CDURLopener.open_local_file(url)

Use local file.

CDURLopener.open(fullurl[, data])

Use URLopener().open(file) instead of open(file, ‘r’).

CDURLopener.open_unknown_proxy(proxy, fullurl)

Overridable interface to open unknown URL type.

CDURLopener.open_unknown(fullurl[, data])

Overridable interface to open unknown URL type.