reorx / httpstat

curl statistics made simple
MIT License
5.94k stars 384 forks source link

Merge with httpie #10

Closed Yamakaky closed 7 years ago

Yamakaky commented 7 years ago

Cool program! Did you consider merging with httpie, maybe behind a cli flag?

reorx commented 7 years ago

Actually, I intended to do so at the beginning, but then I changed my mind after looking around the code base of httpie. Httpie uses requests to handle HTTP things, in order to get time stats, you have to intercept into requests and count time in every phase of the requesting process, that makes it a feature request of both requests library and httpie, it's the ideal way but it takes much much time and depends a lot on authors' attitudes. So I just choose the simplest way, leverage the power of curl, and make it work.

I like requests and httpie a lot (the ui of httpstat imitates httpie's somewhat) and hope to see time statistics as part of their functionalities some day, that time httpstat is happy to be an alternative.

Yamakaky commented 7 years ago

Ok, cool. And yeah, I noticed the similarity in the interfaces ^^