Skip to content
Myr

I don't even want to know.

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

authored by Kenneth Reitz · committed by Kenneth Reitz · parent 61be59d · Browse files · 1 file+4 added−4 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+4 added−4 removed

  • other:+4 added−4 removed

1 file+4 added−4 removed

modified:test_requests.py+4 added-4 removed
66 unmodified lines
67 r = requests.get(httpbin('/get'))68 self.assertEqual(r.status_code, 200)6970 def test_HTTP_302_ALLOW_REDIRECT_GET(self):71 r = requests.get(httpbin('redirect', '1'))72 self.assertEqual(r.status_code, 200)71 r = requests.get(httpbin('redirect', '1'))72 self.assertEqual(r.status_code, 200)7374 def test_HTTP_302_GET(self):75 r = requests.get(httpbin('redirect', '1'), allow_redirects=False)76 self.assertEqual(r.status_code, 302)75 r = requests.get(httpbin('redirect', '1'), allow_redirects=False)76 self.assertEqual(r.status_code, 302)777879 def test_HTTP_200_OK_GET_WITH_PARAMS(self):80 heads = {'User-agent': 'Mozilla/5.0'}
420 unmodified lines