summaryrefslogtreecommitdiff
path: root/docs/cmdline-opts/head.d
blob: 06d2489d5eaa0b52d7b18e03134074b830f14e73 (plain)
1
2
3
4
5
6
7
8
9
10
Long: head
Short: I
Help: Show document info only
Protocols: HTTP FTP FILE
Category: http ftp file
Example: -I $URL
---
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.