inspirehep / invenio

Invenio digital library software, INSPIRE OPS version
http://invenio-software.org/
GNU General Public License v2.0
3 stars 10 forks source link

BibDocFile: replaces urllib2.openurl with requests #510

Closed tsgit closed 4 years ago

tsgit commented 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

Signed-off-by: Thorsten Schwander thorsten.schwander@gmail.com