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

improper Content-Type setting on JsonRpc client #120

Closed
dynamicgl opened this issue Dec 1, 2013 · 0 comments
Closed

improper Content-Type setting on JsonRpc client #120

dynamicgl opened this issue Dec 1, 2013 · 0 comments

Comments

@dynamicgl
Copy link

Hi I noticed there is a problem in the last commit c4ae24d

  •    d = fetch(
    
    •        self.__rpcUrl,
      
    •        method="POST",
      
    •        postdata=q,
      
    •        headers={
      
    •            "Content-Type": "application/json-rpc"
      
    •        }
      
    •    )
      

"Content-Type": "application/json-rpc": ought to be

"Content-Type": ["application/json-rpc"]

otherwise , I got exception.

Thanks.

fiorix added a commit that referenced this issue Dec 2, 2013
@fiorix fiorix closed this as completed Dec 2, 2013
hellais pushed a commit to hellais/cyclone that referenced this issue Sep 17, 2014
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

2 participants