Closed tsgit closed 4 years ago
use requests instead of urllib2.urlopen to address issues with remote SSL connections there is some pervasive use of OPENER based on open_url which should be refactored. because of this, we return requests.raw to emulate the urllib2.urlopen response
requests
urllib2.urlopen
OPENER
open_url
requests.raw
Signed-off-by: Thorsten Schwander thorsten.schwander@gmail.com
use
requests
instead ofurllib2.urlopen
to address issues with remote SSL connections there is some pervasive use ofOPENER
based onopen_url
which should be refactored. because of this, we returnrequests.raw
to emulate the urllib2.urlopen responseSigned-off-by: Thorsten Schwander thorsten.schwander@gmail.com