[oauth] Re: SimpleGeo requests returning 401 Unauthorized

2010-07-19 Thread nvictor
hi John, the code is working now. thanks again. On Jul 18, 6:57 pm, John Kristian jmkrist...@gmail.com wrote: 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 seehttp://oauth.net/code/ I'm not

[oauth] Re: SimpleGeo requests returning 401 Unauthorized

2010-07-18 Thread John Kristian
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

[oauth] Re: SimpleGeo requests returning 401 Unauthorized

2010-07-18 Thread nvictor
Wow! Thank you so much John. The goal was to avoided a bloated existing solution and do just what I need to do. I trimmed down the code for python-oauth2. Didn't know I was missing that much. I will let you know if it works. On Jul 18, 6:57 pm, John Kristian jmkrist...@gmail.com wrote: Several