]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Resolve patch #449367.
authorGreg Stein <gstein@lyra.org>
Sat, 18 Aug 2001 09:20:23 +0000 (09:20 +0000)
committerGreg Stein <gstein@lyra.org>
Sat, 18 Aug 2001 09:20:23 +0000 (09:20 +0000)
commit81937a4a12cfb316c196603c6bfd6bf0fdc73f41
tree41058a5399d5d9ea261c4ae9298f7ce8ac9e6ca9
parent6cb0d4c632eb3a502d3097b133c1056788dc9b2c
Resolve patch #449367.

For the HTTPS class (when available), ensure that the x509 certificate data
gets passed through to the HTTPSConnection class. Create a new
HTTPS.__init__ to do this, and refactor the HTTP.__init__ into a new _setup
method for both init's to call.

Note: this is solved differently from the patch, which advocated a new
**x509 parameter on the base HTTPConnection class. But that would open
HTTPConnection to arbitrary (ignored) parameters, so was not as desirable.
Lib/httplib.py