https://bugzilla.wikimedia.org/show_bug.cgi?id=66102
Bug ID: 66102 Summary: use one library for all http requests Product: Pywikibot Version: core (2.0) Hardware: All OS: All Status: NEW Severity: normal Priority: Unprioritized Component: General Assignee: Pywikipedia-bugs@lists.wikimedia.org Reporter: jayvdb@gmail.com Web browser: --- Mobile Platform: ---
pywiki mostly depends on httplib2.
There are a few cases of urllib.urlopen (and others) being used in the pywikibot library code, and a number of scripts which use other http request routines.
Multiple routines results in multiple configuration and multiple sets of possible errors.
Has there been any investigation whether requests or urllib3 would suit our needs better (e.g. offloading some problems onto another project)?