Commit Graph

5 Commits (7d08f6073d42c8623031615c4b7e0bb26136c128)

Author SHA1 Message Date
Yen Chi Hsuan efbed08dc2 [utils] Encode hostnames before passing to urllib
With IDN (Internationalized Domain Name) and a proxy, non-ascii URLs
are passed down to urllib/urllib2, causing UnicodeEncodeError

Fixes 
Yen Chi Hsuan 429491f531 [test/http] Fix failure in Jython
make offlinetest passed on the latest Jython hg version with patched
lib-python/2.7/urllib2.py pulled from CPython 2.7.11
Jaime Marquínez Ferrándiz 01218f919b [test/http] Add test for proxy support
Philipp Hagemeister 03d8d4df38 [test_http] PEP8
Philipp Hagemeister 83fda3c000 Add a test for --no-check-certificate