head.d 485 B

1234567891011121314
  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. ---
  12. Fetch the headers only! HTTP-servers feature the command HEAD which this uses
  13. to get nothing but the header of a document. When used on an FTP or FILE file,
  14. curl displays the file size and last modification time only.