I reverse the logic about content length. We should unset it only when response body is compressed.
Since response body was polled by hyper, it's too early for us to show log message in original implementation. I implement a "loggable body" to track whether we should print log message.
I have considered trace in tower-http, but I will have to
add tower-http as dependency, which might increase binary size
encapsulate my own response to keep log information from request like how I do now
comply with tower-http trace signature and lifetime
closes #96
Send request with curl
Enable compression and send request with curl
Send request with HTTPie
Performance is not compromised
Partial content log