Message171379
When attempting to use basic auth over https with a server that sends 401 and closes the connection as soon as the headers missing auth are received, the process aborts with a broken pipe when (presumably) trying to send the POST body.
session = requests.session(auth=(USER, PASSWORD), verify=False)
resp = session.post('https://foo.com/something')
--> requests.exceptions.ConnectionError: [Errno 32] Broken pipe |
|
Date |
User |
Action |
Args |
2012-09-27 16:08:14 | ABR | set | recipients:
+ ABR |
2012-09-27 16:08:14 | ABR | set | messageid: <1348762094.47.0.227336838763.issue16062@psf.upfronthosting.co.za> |
2012-09-27 16:08:14 | ABR | link | issue16062 messages |
2012-09-27 16:08:13 | ABR | create | |
|