curl-w32/docs/cmdline-opts/head.md

520 B

c SPDX-License-Identifier Long Short Help Protocols Category Added Multi See-also Example
Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al. curl head I Show document info only HTTP FTP FILE http ftp file 4.0 boolean
get
verbose
trace-ascii
-I $URL

--head

Fetch the headers only! HTTP-servers feature the command HEAD which this uses to get nothing but the header of a document. When used on an FTP or FILE file, curl displays the file size and last modification time only.