curlie icon indicating copy to clipboard operation
curlie copied to clipboard

Support some HTTPie options like `--print`?

Open borekb opened this issue 4 years ago • 3 comments

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.

borekb avatar Dec 14 '20 14:12 borekb

This is not implemented but it could be added.

rs avatar Dec 14 '20 14:12 rs

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

borekb avatar Dec 14 '20 14:12 borekb

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

rs avatar Dec 14 '20 14:12 rs