mirror of
https://github.com/curl/curl.git
synced 2026-08-25 06:33:32 +03:00
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:
parent
bc6072d245
commit
b0c82239c2
12 changed files with 240 additions and 69 deletions
|
|
@ -67,8 +67,6 @@ const char *param2text(ParameterError error)
|
|||
return "too large number";
|
||||
case PARAM_NO_NOT_BOOLEAN:
|
||||
return "used '--no-' for option that is not a boolean";
|
||||
case PARAM_CONTDISP_SHOW_HEADER:
|
||||
return "showing headers and --remote-header-name cannot be combined";
|
||||
case PARAM_CONTDISP_RESUME_FROM:
|
||||
return "--continue-at and --remote-header-name cannot be combined";
|
||||
case PARAM_READ_ERROR:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue