Skip to content

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

@zeroFruit

Description

@zeroFruit

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions