mirror of
https://github.com/curl/curl.git
synced 2026-06-01 23:04:15 +03:00
curl --head now reports info "headers" on file:// URLs as well
This commit is contained in:
parent
5554f1ccba
commit
fb26b2bd98
3 changed files with 50 additions and 8 deletions
|
|
@ -367,10 +367,11 @@ name, IP address or host name. An example could look like:
|
|||
|
||||
If this option is used several times, the last one will be used.
|
||||
.IP "-I/--head"
|
||||
(HTTP/FTP)
|
||||
(HTTP/FTP/FILE)
|
||||
Fetch the HTTP-header only! HTTP-servers feature the command HEAD
|
||||
which this uses to get nothing but the header of a document. When used
|
||||
on a FTP file, curl displays the file size only.
|
||||
on a FTP or FILE file, curl displays the file size and last modification
|
||||
time only.
|
||||
|
||||
If this option is used twice, the second will again disable header only.
|
||||
.IP "-j/--junk-session-cookies"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue