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