Message171379
| Author |
ABR |
| Recipients |
ABR |
| Date |
2012年09月27日.16:08:13 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1348762094.47.0.227336838763.issue16062@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
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 |
|
History
|
|---|
| 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 |
|