(self, httpbin)
| 203 | assert r.status_code == 200, f"failed for scheme {scheme}" |
| 204 | |
| 205 | def test_HTTP_200_OK_GET_ALTERNATIVE(self, httpbin): |
| 206 | r = requests.Request("GET", httpbin("get")) |
| 207 | s = requests.Session() |
| 208 | s.proxies = getproxies() |
| 209 | |
| 210 | r = s.send(r.prepare()) |
| 211 | |
| 212 | assert r.status_code == 200 |
| 213 | |
| 214 | def test_HTTP_302_ALLOW_REDIRECT_GET(self, httpbin): |
| 215 | r = requests.get(httpbin("redirect", "1")) |