Skip to content

cannot concatenate 'str' and 'NoneType' objects #99

Open
@abrarazeem

Description

@abrarazeem

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions