simplegeo/python-oauth2 — Issue #99: cannot concatenate 'str' and 'NoneType' objects
Author: abrarazeem
Created: 2011-11-24 18:59:41+00:00
State: open

import oauth2 as oauth

i have create a client
using oauth2
GET works well but when i try to specify the body of the post
it gave an error
client = oauth.Client(consumer,token)

resp, content = client.request('http://127.0.0.1:8000/api/posts/ ','POST',body=urllib.urlencode({'foo':'bar','hello':world'}))

build\bdist.win32\egg\oauth2\__init__.py in request

realm = schema + ':' + hierpart + host