2016-11-16 01:44:58 +03:00
|
|
|
Long: head
|
|
|
|
Short: I
|
|
|
|
Help: Show document info only
|
|
|
|
Protocols: HTTP FTP FILE
|
2020-07-13 15:15:04 +03:00
|
|
|
Category: http ftp file
|
2021-08-31 17:37:14 +03:00
|
|
|
Example: -I $URL
|
2021-09-28 12:50:07 +03:00
|
|
|
Added: 4.0
|
2021-11-15 17:58:20 +03:00
|
|
|
See-also: get verbose trace-ascii
|
2016-11-16 01:44:58 +03: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.
|