mirror of
https://github.com/python/cpython.git
synced 2025-10-21 14:12:27 +00:00
Merged revisions 86676 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r86676 | senthil.kumaran | 2010-11-22 12:48:26 +0800 (Mon, 22 Nov 2010) | 4 lines Fix Issue4493 - urllib2 adds '/' to the path component of url, when it does not starts with one. This behavior is exhibited by browser and other clients. ........
This commit is contained in:
parent
f30fd10782
commit
d17ebdba4a
4 changed files with 29 additions and 2 deletions
|
@ -105,7 +105,7 @@ from urllib.response import addinfourl, addclosehook
|
|||
# check for SSL
|
||||
try:
|
||||
import ssl
|
||||
except:
|
||||
except ImportError:
|
||||
_have_ssl = False
|
||||
else:
|
||||
_have_ssl = True
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue