cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: When running cat filename |xargs -i curl -sIL -w "%{http_code} %{url_effective}\n" -o /dev/null {} - curl get stuck on some websites

From: Liran ... <reactor.leet_at_gmail.com>
Date: Sun, 11 Jul 2010 16:39:10 +0300

Also getting stuck with this parameter:
curl -sIL -w "%{http_code} %{url_effective}\n" http://192.168.4.47

but when I run this: curl http://192.168.4.47 it's working fine

On Sun, Jul 11, 2010 at 4:27 PM, Alex Bligh <alex_at_alex.org.uk> wrote:

>
>
> --On 11 July 2010 16:00:41 +0300 "Liran ..." <reactor.leet_at_gmail.com>
> wrote:
>
> the filename contains IP address in each line
>>
>>
>> it getting stuck on some URL's that I have no problem connecting them
>>
>>
>> I'm trying to get the HTTP response code like 200, 401 and 404
>>
>
> And if you manually curl the IP addresses? Is there a reason the site
> should /not/ return the above error codes?
>
> --
> Alex Bligh
> -------------------------------------------------------------------
> List admin: http://cool.haxx.se/list/listinfo/curl-users
> FAQ: http://curl.haxx.se/docs/faq.html
> Etiquette: http://curl.haxx.se/mail/etiquette.html
>

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-users
FAQ: http://curl.haxx.se/docs/faq.html
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2010-07-11