Skip to content

Accept only JSON on JSON-RPC server #2497

@benesjan

Description

@benesjan

Currently we need to use "Content-Type: application/json" flag when requesting info from JsonRpcServer. This behavior is different from Geth where this flag is not needed.

  • Use json content type by default.
  • Throw when a different content type is used.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions