summaryrefslogtreecommitdiff
path: root/docs/cmdline-opts/head.d
blob: c659337ff690759d586475bcc0f9bbbd3a89e4cb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
Long: head
Short: I
Help: Show document info only
Protocols: HTTP FTP FILE
Category: http ftp file
Example: -I $URL
Added: 4.0
See-also: get verbose trace-ascii
---
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.