From 006d2991bd8dd08e8bdc6f186ef242451ace0c0f Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Wed, 20 May 2020 13:21:00 +0200 Subject: curl: remove -J "informational" written on stdout MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit curl would previously show "curl: Saved to filename 'name from header'" if -J was used and a name was picked from the Content-Disposition header. That output could interfer with other stdout output, such as -w. This commit removes that output line. Bug: https://curl.haxx.se/mail/archive-2020-05/0044.html Reported-by: Коваленко Анатолий Викторович Closes #5435 --- tests/data/test1340 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/data/test1340') diff --git a/tests/data/test1340 b/tests/data/test1340 index 81f1ed68d..644fb2b51 100644 --- a/tests/data/test1340 +++ b/tests/data/test1340 @@ -40,7 +40,7 @@ HTTP GET with -O -J and Content-Disposition, -D file CURL_TESTDIR=%PWD/log -http://%HOSTIP:%HTTPPORT/1340 -J -O -D log/heads1340 +http://%HOSTIP:%HTTPPORT/1340 -J -O -D log/heads1340 -w "curl: Saved to filename %{filename_effective}\n" @@ -73,7 +73,7 @@ Content-Disposition: filename=name1340; charset=funny; option=strange -curl: Saved to filename '%PWD/log/name1340' +curl: Saved to filename %PWD/log/name1340 -- cgit v1.2.1