For the simple request like following with python requests
r = requests.get("http://google.com", headers={'Connection': 'close'})
There are additional request headers sent with request like following
>>> r.request.headers
{'Connection': 'close', 'User-Agent': 'python-requests/2.9.1', 'Accept': '*/*', 'Accept-Encoding': 'gzip, deflate'}
Is there any way to force python requests to just send the supplied headers and nothing more?
Thank you, Sudu