HTTP (The Gem! a.k.a. http.rb) - a fast Ruby HTTP client with a chainable API, streaming support, and timeouts
3k
stars
321
forks
source link
Feature Request: Better Control of Logging for Binary Request Body / Response Body #784
Open
ksylvest opened 3 months ago
For non-textual files any logger running w/ an INFO level causes a lot of noise / gibberish. For example, with logging and an AAC file:
It doesn't appear to be possible to customize this outside changing the log level to never see
request.body
/response.body
. For example:wrap_response
Current:
Proposed:
log?
might be:wrap_request
Current:
Proposed:
log?
might be:If this is something of interest I'd be happy to look into further.