(self, protocol: str)
| 36 | ['http://', 'https://'], |
| 37 | ) |
| 38 | def test_basic_requests(self, protocol: str) -> None: |
| 39 | resp = impit.get(f'{protocol}apify.com') |
| 40 | assert resp.status_code == 200 if protocol == 'https://' else resp.status_code == 301 |
| 41 | |
| 42 | def test_boringssl_based_server(self) -> None: |
| 43 | response = impit.get('https://www.google.com') |