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

Centos 7: No package freetds available

Recently I was trying to pip install pymssql on Centos 7, but was hitting: _mssql.c:266:22: fatal error: sqlfront.h: No such file or directory That error happened when pip tried to compile the driver after it had downloaded the relevant files. The issue was due to the libraries freetds and freetds-devel not being installed on the … Continue reading Centos 7: No package freetds available