comparison mupdf-source/thirdparty/curl/docs/cmdline-opts/dump-header.d @ 2:b50eed0cc0ef upstream

ADD: MuPDF v1.26.7: the MuPDF source as downloaded by a default build of PyMuPDF 1.26.4. The directory name has changed: no version number in the expanded directory now.
author Franz Glasner <fzglas.hg@dom66.de>
date Mon, 15 Sep 2025 11:43:07 +0200
parents
children
comparison
equal deleted inserted replaced
1:1d09e1dec1d9 2:b50eed0cc0ef
1 Long: dump-header
2 Short: D
3 Arg: <filename>
4 Help: Write the received headers to <filename>
5 Protocols: HTTP FTP
6 See-also: output
7 ---
8 Write the received protocol headers to the specified file.
9
10 This option is handy to use when you want to store the headers that an HTTP
11 site sends to you. Cookies from the headers could then be read in a second
12 curl invocation by using the --cookie option! The --cookie-jar option is a
13 better way to store cookies.
14
15 If no headers are received, the use of this option will create an empty file.
16
17 When used in FTP, the FTP server response lines are considered being "headers"
18 and thus are saved there.
19
20 If this option is used several times, the last one will be used.