(self, username, password)
| 264 | return 'http://' + proxy_url |
| 265 | |
| 266 | def _construct_basic_auth(self, username, password): |
| 267 | auth_str = f'{username}:{password}' |
| 268 | encoded_str = b64encode(auth_str.encode('ascii')).strip().decode() |
| 269 | return f'Basic {encoded_str}' |
| 270 | |
| 271 | def _get_auth_from_url(self, url): |
| 272 | parsed_url = urlparse(url) |
no test coverage detected