What’s the thinking here? If I ask for the headers, wouldn’t I want that on stdout?
What’s the thinking here? If I ask for the headers, wouldn’t I want that on stdout?
I almost forked it to get both outputs into stdout haha
Asking a program for info and then getting that info on stderr seems really bizarre to me.
Is this some historical UNIXism?
You could consider headers to be some sort of debug prints..
The info that you're asking the program for is the response body. You're using `curl` / `curlie` primarily to get the response body and then pipe it to the rest of the command. The headers are ancillary.
If the headers were the info you were asking for, eg when running `curl -D -`, then yes they should get printed to stdout. That is not the case being considered here.
When headers are specifically requests with -i for instance, I agree curlie should print them on stdout. PR accepted ;)