Skip to content
Myr

test pyopenssl redirect (unit test for #1887)

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Konstantinos Koukopoulos · committed by Konstantinos Koukopoulos · parent 19756d5 · Browse files · 1 file+3 added−0 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+3 added−0 removed

  • other:+3 added−0 removed

1 file+3 added−0 removed

modified:test_requests.py+3 added
410 unmodified lines
411412 def test_unicode_header_name(self):413 requests.put(httpbin('put'), headers={str('Content-Type'): 'application/octet-stream'}, data='\xff') # compat.str is unicode.414415 def test_pyopenssl_redirect(self):416 requests.get('https://httpbin.org/status/301')417418 def test_urlencoded_get_query_multivalued_param(self):419420 r = requests.get(httpbin('get'), params=dict(test=['foo', 'baz']))421 assert r.status_code == 200
752 unmodified lines