2
0

head.d 500 B

123456789101112131415
  1. c: Copyright (C) 1998 - 2022, Daniel Stenberg, <daniel@haxx.se>, et al.
  2. SPDX-License-Identifier: curl
  3. Long: head
  4. Short: I
  5. Help: Show document info only
  6. Protocols: HTTP FTP FILE
  7. Category: http ftp file
  8. Example: -I $URL
  9. Added: 4.0
  10. See-also: get verbose trace-ascii
  11. Multi: boolean
  12. ---
  13. Fetch the headers only! HTTP-servers feature the command HEAD which this uses
  14. to get nothing but the header of a document. When used on an FTP or FILE file,
  15. curl displays the file size and last modification time only.