cURL / Mailing Lists / curl-users / Single Mail

curl-users

--header problem

From: Gisle Vanem <gvanem_at_broadpark.no>
Date: Fri, 26 Mar 2004 13:12:41 +0100

How is this supposed to work:
echo "Accept: gzip,deflate" | curl --header - -v www.foo.com

My impression from the manual this should read the headers from stdin.
But the code in main.c does "headerfilep = stdout" ?!
Must be missing something or curl is mixing --header and --dump-header.

--gv
Received on 2004-03-26