New submission from Kayne:
I tried to use cert = ssl.get_server_certificate((, 443)) and it crashed
with following error:
Traceback (most recent call last):
File PeerCertChainQuery.py, line 107, in module
cert = ssl.get_server_certificate((options.host, 443))
File /opt/lib
Kayne Naughton [EMAIL PROTECTED] added the comment:
Just struck this myself, found Andi's solution to work.
Constructing the header using email.header stops it from breaking the
line awkwardly (vs. just storing a string).
Suggest the documentation example page be updated to use header
Kayne Naughton [EMAIL PROTECTED] added the comment:
Argg, yes, as Andi explained it's the tab (not sure how I missed that on
first reading).
_
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1645148