]> granicus.if.org Git - python/commit
add support for HTTPS
authorJeremy Hylton <jeremy@alum.mit.edu>
Tue, 1 Aug 2000 17:33:32 +0000 (17:33 +0000)
committerJeremy Hylton <jeremy@alum.mit.edu>
Tue, 1 Aug 2000 17:33:32 +0000 (17:33 +0000)
commit29b8d5acd05f0504c111fad2f7c7287baf74b2f2
treecf427bb651cca81c1ea9aa245ecea767b2e44e96
parent1c2b178cebfe45bb832a33a8a87c9899365d0b4f
add support for HTTPS

Modify HTTP to use delegation instead of inheritance.  The
_connection_class attribute of the class defines what class to
delegate to.  The HTTPS class is a subclass of HTTP that redefines
_connection_class.
Lib/httplib.py