rs / curlie

The power of curl, the ease of use of httpie.
https://curlie.io
MIT License
2.84k stars 95 forks source link

Support some HTTPie options like `--print`? #35

Open borekb opened 3 years ago

borekb commented 3 years ago

In curl, it's surprisingly difficult to output some things, like request & response headers without the TLS negotiation (see e.g. here).

HTTPie has a useful -p / --print flag, I realize that curlie is just a frontend for curl so this is probably out of scope but I wanted to ask what you think about it, or if there are other tricks of how to take the already grayed out text of the -v / --verbose option and remove it completely.

rs commented 3 years ago

This is not implemented but it could be added.

borekb commented 3 years ago

Are there already examples of HTTPie flags / options that curlie supports, or would this be the first?

rs commented 3 years ago

That would be the first, but there is already the --curl option that is a non curl (and non httpie) flag.