This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

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:14ABRsetrecipients: + ABR
2012-09-27 16:08:14ABRsetmessageid: <1348762094.47.0.227336838763.issue16062@psf.upfronthosting.co.za>
2012-09-27 16:08:14ABRlinkissue16062 messages
2012-09-27 16:08:13ABRcreate