blob: 3dabac85e65c17f54025032cf8fad8d559751894 [file] [log] [blame]
xf.li6c8fc1e2023-08-12 00:11:09 -07001c: Copyright (C) 1998 - 2022, Daniel Stenberg, <daniel@haxx.se>, et al.
2SPDX-License-Identifier: curl
3Long: dump-header
4Short: D
5Arg: <filename>
6Help: Write the received headers to <filename>
7Protocols: HTTP FTP
8See-also: output
9Category: http ftp
10Example: --dump-header store.txt $URL
11Added: 5.7
12Multi: single
13---
14Write the received protocol headers to the specified file. If no headers are
15received, the use of this option will create an empty file.
16
17When used in FTP, the FTP server response lines are considered being "headers"
18and thus are saved there.