On Mon, 8 Sep 2014 10:44:51 -0700 Alex Gaynor <alex.gaynor at gmail.com> wrote: > *Shifts uncomfortably* it looks like presently there's not a good way to > change anything about the SSL configuration for urllib.request.urlopen. It > does not take a `context` argument, as the http.client API does: > https://docs.python.org/3/library/urllib.request.html#module-urllib.request > and instead takes the cafile, capath, cadefault args. The reason it doesn't take a context argument is that SSL contexts are hard to understand and configure for the average urlopen() user (why should people know about ssl module specifics to open an HTTPS URL?). http.client is more low-level and therefore more amenable to such powerful knobs. Regards Antoine.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4