Commit Graph

8 Commits (43f1e4e41e1900786e7d5186d2844e9b307bc05e)

Author SHA1 Message Date
Yen Chi Hsuan 40f3666f6b
[test/test_http] Update tests for 38cce791c7 2016-07-03 23:50:55 +08:00
Yen Chi Hsuan 54fb199681 [test/test_http] Fix getsockname() on Jython 2016-06-02 15:00:49 +08:00
Yen Chi Hsuan 8c32e5dc32 [test/test_utils] Add test for #9588 2016-06-02 15:00:49 +08:00
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 #8890
2016-03-23 22:24:52 +08:00
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
2016-03-03 21:55:17 +08:00
Jaime Marquínez Ferrándiz 01218f919b [test/http] Add test for proxy support 2015-03-20 14:59:38 +01:00
Philipp Hagemeister 03d8d4df38 [test_http] PEP8 2015-01-30 03:06:40 +01:00
Philipp Hagemeister 83fda3c000 Add a test for --no-check-certificate 2015-01-30 02:57:37 +01:00