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

Set the request header 'Content-Type' to 'application/json' #114

Open
zeroFruit opened this issue Jul 18, 2020 · 0 comments
Open

Set the request header 'Content-Type' to 'application/json' #114

zeroFruit opened this issue Jul 18, 2020 · 0 comments

Comments

@zeroFruit
Copy link

zeroFruit commented Jul 18, 2020

I'm using this library to interact with Bitcoin node developed by parity-tech (link). And I have problem to connect parity-bitcoin node because it requires header value 'Content-Type' with 'application/json'.

After testing locally I've found out that this library uses request header 'Content-Type' value as 'application/x-www-form-urlencoded'.

Is this intended behavior? I think it would be better to set 'Content-Type' value as 'application/json' explicitly for supporting parity-bitcoin and following jsonrpc over HTTP header value suggestion

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

1 participant