curl-users
Re: Spider? Headers?
From: ToddAndMargo <ToddAndMargo_at_zoho.com>
Date: Fri, 9 Feb 2018 14:07:00 -0800
Date: Fri, 9 Feb 2018 14:07:00 -0800
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.)
-----------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-users
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2018-02-09