blob: aa3bd9e33b4b9912088daa104cef15a26e84ddc1 [file] [log] [blame]
Elliott Hughescee03382017-06-23 12:17:18 -07001Long: dump-header
2Short: D
3Arg: <filename>
4Help: Write the received headers to <filename>
5Protocols: HTTP FTP
6See-also: output
Haibo Huangb5a52b92020-10-28 22:18:23 -07007Category: http ftp
Elliott Hughescee03382017-06-23 12:17:18 -07008---
Elliott Hughes34dd5f42021-08-10 13:01:18 -07009Write the received protocol headers to the specified file. If no headers are
10received, the use of this option will create an empty file.
Haibo Huangb6336c12019-06-05 01:34:44 -070011
Elliott Hughescee03382017-06-23 12:17:18 -070012When used in FTP, the FTP server response lines are considered being "headers"
13and thus are saved there.
14
15If this option is used several times, the last one will be used.