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

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

3 participants

@sagarun

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

@dejw

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

https://github.com/dejw/jsonrpclib

@zeph

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

@zeph

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