Re: Spider? Headers?

On 02/08/2018 03:00 PM, Daniel Stenberg wrote:
> On Wed, 7 Feb 2018, ToddAndMargo wrote:
>
>> Is there a way to do this (capture headers) with curl?
>>
>> wget -S --spider http://xxxxxxxxxx.zip>
> curl -I http://xxxxxxxxxx.zip>
> ... makes a HEAD request and shows the HTTP headers for the URL. Is what
> you mean?
>

Yes. Thank you!

Also, what is the syntax is I want to also do
this on a file residing on my local hard drive?
(I want to compare to one on the Internet.)