From: Konstantinos Koukopoulos Date: Tue, 28 Jan 2014 17:08:16 +0000 (-0800) Subject: test pyopenssl redirect (unit test for #1887) X-Git-Tag: v2.3.0~35^2~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b6e16799d0225af6a389eb040d940c9f97de63d2;p=services%2Fpython-requests.git test pyopenssl redirect (unit test for #1887) --- diff --git a/test_requests.py b/test_requests.py index 63897bb..ee9c7b7 100755 --- a/test_requests.py +++ b/test_requests.py @@ -412,6 +412,9 @@ class RequestsTestCase(unittest.TestCase): def test_unicode_header_name(self): requests.put(httpbin('put'), headers={str('Content-Type'): 'application/octet-stream'}, data='\xff') # compat.str is unicode. + def test_pyopenssl_redirect(self): + requests.get('https://httpbin.org/status/301') + def test_urlencoded_get_query_multivalued_param(self): r = requests.get(httpbin('get'), params=dict(test=['foo', 'baz']))