"Fossies" - the Fresh Open Source Software Archive

Member "curl-7.67.0/docs/cmdline-opts/dump-header.d" (15 Oct 2019, 697 Bytes) of package /linux/www/curl-7.67.0.tar.xz:

As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) D source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file. For more information about "dump-header.d" see the Fossies "Dox" file reference documentation and the last Fossies "Diffs" side-by-side code changes report: 7.65.0_vs_7.65.1.

    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.
   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.
   15 If no headers are received, the use of this option will create an empty file.
   17 When used in FTP, the FTP server response lines are considered being "headers"
   18 and thus are saved there.
   20 If this option is used several times, the last one will be used.