mirror of
https://github.com/kennethreitz/requests.git
synced 2026-06-05 22:50:18 +00:00
this didn't merge properly
This commit is contained in:
+3
-5
@@ -499,6 +499,9 @@ class RequestsTestCase(unittest.TestCase):
|
||||
r = requests.get('HTTP://example.com/')
|
||||
self.assertEqual(r.status_code, 200)
|
||||
|
||||
def test_uppercase_scheme_redirect(self):
|
||||
r = requests.get(httpbin('redirect-to'), params={'url': 'HTTP://example.com/'})
|
||||
self.assertEqual(r.status_code, 200)
|
||||
def test_transport_adapter_ordering(self):
|
||||
s = requests.Session()
|
||||
order = ['https://', 'http://']
|
||||
@@ -705,10 +708,5 @@ class TestCaseInsensitiveDict(unittest.TestCase):
|
||||
self.assertEqual(frozenset(cid), keyset)
|
||||
|
||||
|
||||
|
||||
def test_uppercase_scheme_redirect(self):
|
||||
r = requests.get(httpbin('redirect-to'), params={'url': 'HTTP://example.com/'})
|
||||
self.assertEqual(r.status_code, 200)
|
||||
|
||||
if __name__ == '__main__':
|
||||
unittest.main()
|
||||
|
||||
Reference in New Issue
Block a user