1*6236dae4SAndroid Build Coastguard Worker--- 2*6236dae4SAndroid Build Coastguard Workerc: Copyright (C) Daniel Stenberg, <[email protected]>, et al. 3*6236dae4SAndroid Build Coastguard WorkerSPDX-License-Identifier: curl 4*6236dae4SAndroid Build Coastguard WorkerLong: head 5*6236dae4SAndroid Build Coastguard WorkerShort: I 6*6236dae4SAndroid Build Coastguard WorkerHelp: Show document info only 7*6236dae4SAndroid Build Coastguard WorkerProtocols: HTTP FTP FILE 8*6236dae4SAndroid Build Coastguard WorkerCategory: http ftp file 9*6236dae4SAndroid Build Coastguard WorkerAdded: 4.0 10*6236dae4SAndroid Build Coastguard WorkerMulti: boolean 11*6236dae4SAndroid Build Coastguard WorkerSee-also: 12*6236dae4SAndroid Build Coastguard Worker - get 13*6236dae4SAndroid Build Coastguard Worker - verbose 14*6236dae4SAndroid Build Coastguard Worker - trace-ascii 15*6236dae4SAndroid Build Coastguard WorkerExample: 16*6236dae4SAndroid Build Coastguard Worker - -I $URL 17*6236dae4SAndroid Build Coastguard Worker--- 18*6236dae4SAndroid Build Coastguard Worker 19*6236dae4SAndroid Build Coastguard Worker# `--head` 20*6236dae4SAndroid Build Coastguard Worker 21*6236dae4SAndroid Build Coastguard WorkerFetch the headers only. HTTP-servers feature the command HEAD which this uses 22*6236dae4SAndroid Build Coastguard Workerto get nothing but the header of a document. When used on an FTP or FILE URL, 23*6236dae4SAndroid Build Coastguard Workercurl displays the file size and last modification time only. 24