Several implementations of OAuth in Python already exist.  It would
probably help to use one, or at least look at its source code.  For
examples see http://oauth.net/code/

I'm not familiar with Python, but it looks like the code above fails
to percent encode values in several places, and fails to include the
oauth_ parameters in the signature base string (when computing the
HMAC-SHA1 signature). I'm not sure whether the parameters are sorted
correctly.  A GET request should not have a Content-Type header, I
think.  application/x-www-form-urlencode is misspelled; it should be
urlencoded (with a 'd' at the end).

-- 
You received this message because you are subscribed to the Google Groups 
"OAuth" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/oauth?hl=en.

Reply via email to