View Single Post
Old 06-01-2015, 11:26 PM   #2
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,409
Karma: 27757236
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
There is no easy way to do that. mechanize (which is what the recipe system uses) was developed long before the modern python's ssl support, so it doesn't have support for fine tuning the SSL implementation via ssl contexts. You could monkey patch

mechanize._urllib2_fork.HTTPSConnectionFactory to do it
kovidgoyal is offline   Reply With Quote