diff options
author | Daniel Stenberg <daniel@haxx.se> | 2018-05-17 13:56:35 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2018-05-21 20:05:05 +0200 |
commit | c1c27625c797cfb7b21128484b4990446c1e92d9 (patch) | |
tree | 7a1e6b2597a10628f7787e16bb850adb09a87fc7 /tests/data/test2010 | |
parent | 6876ccf90b473480998af4619de5f316fbd63084 (diff) |
curl: show headers in bold
The feature is only enabled if the output is believed to be a tty.
-J: There's some minor differences and improvements in -J handling, as
now J should work with -i and it actually creates a file first using the
initial name and then *renames* that to the one found in
Content-Disposition (if any).
-i: only shows headers for HTTP transfers now (as documented).
Previously it would also show for pieces of the transfer that were HTTP
(for example when doing FTP over a HTTP proxy).
-i: now shows trailers as well. Previously they were not shown at all.
--libcurl: the CURLOPT_HEADER is no longer set, as the header output is
now done in the header callback.
Diffstat (limited to 'tests/data/test2010')
-rw-r--r-- | tests/data/test2010 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/data/test2010 b/tests/data/test2010 index b8b3ddcc2..91a83f4dc 100644 --- a/tests/data/test2010 +++ b/tests/data/test2010 @@ -35,10 +35,10 @@ Metalink http </server> <name> -Metalink local XML file, HTTP resource, using -o fname -i -D file +Metalink local XML file, HTTP resource, using -o fname -D file </name> <command option="no-output,no-include"> ---metalink file://%PWD/log/test2010.metalink -i -o log/outfile2010 -D log/heads2010 +--metalink file://%PWD/log/test2010.metalink -o log/outfile2010 -D log/heads2010 </command> # local metalink file written before test command runs <file name="log/test2010.metalink"> |