Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How do i pass extra information like csrf token in the request header? #7

Open
sagarun opened this issue Apr 4, 2011 · 3 comments
Open

Comments

@sagarun
Copy link

sagarun commented Apr 4, 2011

I am trying pass extra information in the request header, how can do that with your library?

@dejw
Copy link

dejw commented Jul 14, 2011

I have implemented tiny change that allows to specify request headers:

https://github.com/dejw/jsonrpclib

@zeph
Copy link

zeph commented May 23, 2012

I'd really appreciate to see this feature from "dejw" in the main source stream ;)

@zeph
Copy link

zeph commented May 23, 2012

in particular.. I can't use the Confluence JSON-RPC calls cause the library is sending out the wrong headers...

"jsonrpclib.jsonrpc.ProtocolError: (-32600, u'JSON-RPC requests must have the Content-type: application/json')"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants