cdurllib

CDURLopener.addheader(self, *args)

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

CDURLopener.http_error_default(self, url, …)

Default error handler: close the connection and raise OSError.

CDURLopener.http_error(self, url, fp, …[, …])

Handle http errors.

CDURLopener.open_data(self, url[, data])

Use “data” URL.

CDURLopener.open_file(self, url)

Use local file or FTP depending on form of URL.

CDURLopener._open_generic_http(self, …)

Make an HTTP connection using connection_class.

CDURLopener.open_http(self, url[, data])

Use HTTP protocol.

CDURLopener.open_https(self, url[, data])

Use HTTPS protocol.

CDURLopener.open_local_file(self, url)

Use local file.

CDURLopener.open(self, fullurl[, data])

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

CDURLopener.open_unknown_proxy(self, proxy, …)

Overridable interface to open unknown URL type.

CDURLopener.open_unknown(self, fullurl[, data])

Overridable interface to open unknown URL type.