projects
/
services
/
python-requests.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d595104
)
rebased with upstream/master
author
Bob Carroll
<bob.carroll@alum.rit.edu>
Sun, 26 May 2013 21:46:36 +0000
(14:46 -0700)
committer
Bob Carroll
<bob.carroll@alum.rit.edu>
Sun, 26 May 2013 21:46:36 +0000
(14:46 -0700)
test_requests.py
patch
|
blob
|
history
diff --git
a/test_requests.py
b/test_requests.py
index 02a1837fa5d5a3892b53c2ea465ee56fb5d9c922..07825e550e2ce5f17c85f53b8da38f13dca1edd5 100755
(executable)
--- a/
test_requests.py
+++ b/
test_requests.py
@@
-495,6
+495,7
@@
class RequestsTestCase(unittest.TestCase):
headers['ACCEPT'.encode('ascii')],
'application/json'
)
+
def test_uppercase_scheme(self):
r = requests.get('HTTP://example.com/')
self.assertEqual(r.status_code, 200)
@@
-502,6
+503,7
@@
class RequestsTestCase(unittest.TestCase):
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://']