Skip to content
Myr

rebased with upstream/master

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

authored by Bob Carroll · committed by Bob Carroll · parent d595104 · Browse files · 1 file+2 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+2 added−0 removed

  • other:+2 added−0 removed

1 file+2 added−0 removed

modified:test_requests.py+2 added
493 unmodified lines
494 self.assertEqual(495 headers['ACCEPT'.encode('ascii')],496 'application/json'497 )498499 def test_uppercase_scheme(self):500 r = requests.get('HTTP://example.com/')501 self.assertEqual(r.status_code, 200)502503 def test_uppercase_scheme_redirect(self):504 r = requests.get(httpbin('redirect-to'), params={'url': 'HTTP://example.com/'})505 self.assertEqual(r.status_code, 200)506507 def test_transport_adapter_ordering(self):508 s = requests.Session()509 order = ['https://', 'http://']510 self.assertEqual(order, list(s.adapters))
204 unmodified lines