Proxy authentication with HTTPConnection and HTTPSConnection

Having recently had to modify Selenium Wire to properly support proxy server authentication with Python's http.client.HTTPConnection and http.client.HTTPSConnection, I thought I'd summarise how I did that here, in case it's useful to anybody in future. These examples assume you're working with a proxy server that's using Basic Authentication. This authentication method works by sending a … Continue reading Proxy authentication with HTTPConnection and HTTPSConnection