PumpkinSeed / ethock

Lightweight Ethereum JSON RPC Mock written in Rust
Apache License 2.0
8 stars 0 forks source link

Logging the request body properly #4

Open PumpkinSeed opened 3 years ago

PumpkinSeed commented 3 years ago

Currently when the log happening it looks like this:

[2021-02-09T20:09:26Z INFO  ethock_lib::server] Incoming Request { method: POST, uri: /, version: HTTP/1.1, headers: {"content-type": "application/json", "content-length": "72", "accept": "*/*", "host": "127.0.0.1:8545"}, body: Body(Streaming) }

So body: Body(Streaming) is NOT correct.

PumpkinSeed commented 3 years ago

Related issue