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

sagarun opened this Issue Apr 4, 2011 · 3 comments

3 participants


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


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


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


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