Package ndg :: Package httpsclient :: Module urllib2_build_opener
[hide private]

Module urllib2_build_opener

source code

urllib2 style build opener integrates with HTTPSConnection class from this package.


Date: 21/12/10

Author: P J Kershaw

Contact: Philip.Kershaw@stfc.ac.uk

Copyright: (C) 2011 Science and Technology Facilities Council

License: BSD - see LICENSE file in top-level directory

Functions [hide private]
 
build_opener(*handlers, **kw)
Create an opener object from a list of handlers.
source code
Variables [hide private]
  __revision__ = '$Id$'
  log = logging.getLogger(__name__)
  __package__ = 'ndg.httpsclient'
Function Details [hide private]

build_opener(*handlers, **kw)

source code 

Create an opener object from a list of handlers.

The opener will use several default handlers, including support for HTTP and FTP.

If any of the handlers passed as arguments are subclasses of the default handlers, the default handlers will not be used.