tool: support --show-headers AND --remote-header-name

By keeping the headers in memory until we know the target file name,
then output them all.

Previously this option combination would cause an error.

Add test 1310 and 1492 to verify. Adjusted test 1460 to work in the new
conditions.

Closes #15110
This commit is contained in:
Daniel Stenberg 2024-09-30 15:38:56 +02:00
parent bc6072d245
commit b0c82239c2
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2
12 changed files with 240 additions and 69 deletions

View file

@ -75,6 +75,7 @@
# 1021 re-added here due to flakiness
1021
1417
1460
1533
1540
1591