2016-11-16 06:44:58 +08:00
|
|
|
Long: dump-header
|
|
|
|
Short: D
|
|
|
|
Arg: <filename>
|
|
|
|
Help: Write the received headers to <filename>
|
|
|
|
Protocols: HTTP FTP
|
|
|
|
See-also: output
|
2020-07-13 20:15:04 +08:00
|
|
|
Category: http ftp
|
2021-08-31 22:37:14 +08:00
|
|
|
Example: --dump-header store.txt $URL
|
2021-09-28 17:50:07 +08:00
|
|
|
Added: 5.7
|
2016-11-16 06:44:58 +08:00
|
|
|
---
|
2021-07-19 01:11:14 +08:00
|
|
|
Write the received protocol headers to the specified file. If no headers are
|
|
|
|
received, the use of this option will create an empty file.
|
2019-06-01 05:09:54 +08:00
|
|
|
|
2016-11-16 06:44:58 +08:00
|
|
|
When used in FTP, the FTP server response lines are considered being "headers"
|
|
|
|
and thus are saved there.
|
|
|
|
|
|
|
|
If this option is used several times, the last one will be used.
|