Open GoogleCodeExporter opened 9 years ago
Okay, with a little more digging, RFC 2617 has a definition for a challenge
that requires at least one authentication parameter:
http://tools.ietf.org/html/rfc2617#section-1.2
So my bug report is incorrect. Httplib2 follows the spec, and Salesforce
doesn't.
Original comment by david.cr...@gmail.com
on 30 Jun 2013 at 8:36
I did encounter this kind of issue when using httplib2 to connect with
Salesforce.
httplib2 cant handel the 401 unauthorized response by salesforce so it erred
with malformed header error.
I just used urllib2 and as expected, the exception handler catched the 401
response
to let my application refresh the token.
except urllib2.HTTPError, err:
if err.code == 401:
self.refresh_token(user)
Original comment by sugarray...@cloudsherpas.com
on 30 Nov 2013 at 2:15
While it's probably wrong to not specify one, I've seen a number of servers
that don't. Here's a small patch to make it work:
Original comment by a...@google.com
on 9 Dec 2013 at 8:06
Attachments:
Original issue reported on code.google.com by
david.cr...@gmail.com
on 30 Jun 2013 at 7:10