2023-01-02 20:51:48 +08:00
|
|
|
c: Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
|
2022-06-14 06:12:03 +08:00
|
|
|
SPDX-License-Identifier: curl
|
2016-11-16 06:44:58 +08:00
|
|
|
Long: head
|
|
|
|
Short: I
|
|
|
|
Help: Show document info only
|
|
|
|
Protocols: HTTP FTP FILE
|
2020-07-13 20:15:04 +08:00
|
|
|
Category: http ftp file
|
2021-08-31 22:37:14 +08:00
|
|
|
Example: -I $URL
|
2021-09-28 17:50:07 +08:00
|
|
|
Added: 4.0
|
2021-11-15 22:58:20 +08:00
|
|
|
See-also: get verbose trace-ascii
|
2022-10-18 16:39:43 +08:00
|
|
|
Multi: boolean
|
2016-11-16 06:44:58 +08:00
|
|
|
---
|
|
|
|
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.
|