Open luisdavim opened 1 year ago
Is there a particular stat you would be interested in? Currently, -vv
displays the total duration, but we could also add time-to-first-byte and content-download duration.
For more granular stats, it would have to be supported in hyper/reqwest first.
From @blyxxyz in https://github.com/ducaale/xh/issues/347#issuecomment-1894674048
HTTPie issue: https://github.com/httpie/cli/issues/1495
This is maybe something we could handle by printing debug logs. Some of our dependencies already generate logs through log but we don't have a way to show them right now. They don't include the IP address but we could add our own log message for that (if we can get that info at all).
If we go that route then we don't have to worry as much about what HTTPie does.
It would be nice to show some timing stats, something like
httpstat
https://github.com/davecheney/httpstat