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: Alex Bligh <alex_at_alex.org.uk>
Date: Sun, 11 Jul 2010 14:27:05 +0100

--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
Received on 2010-07-11