cdms2.cdurllib:CDURLopener

CDURLopener._open_generic_http(connection_factory, url, data)

Make an HTTP connection using connection_class.

This is an internal method that should be called from open_http() or open_https().

Arguments: - connection_factory should take a host name and return an

HTTPConnection instance.

  • url is the url to retrieval or a host, relative-path pair.

  • data is payload for a POST request or None.