blob: 353ef9a0118dce42cfcb600f3802d0d49a32ce28 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
---
c: Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
SPDX-License-Identifier: curl
Long: head
Short: I
Help: Show document info only
Protocols: HTTP FTP FILE
Category: http ftp file
Added: 4.0
Multi: boolean
See-also:
- get
- verbose
- trace-ascii
Example:
- -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 URL,
curl displays the file size and last modification time only.
|