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: Dan Fandrich <dan_at_coneharvesters.com>
Date: Sun, 11 Jul 2010 08:14:09 -0700

On Sun, Jul 11, 2010 at 04:39:10PM +0300, Liran ... wrote:
> 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

Not all URLs support the HEAD command that is sent with the -I option.

>>> Dan
-------------------------------------------------------------------
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