cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: How to fetch 401 message in list of IPs?

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Thu, 14 Oct 2010 23:07:06 +0200 (CEST)

On Thu, 14 Oct 2010, Liran ... wrote:

> I asked how to do it, That's why I asked here!

No you didn't, you asked if it is possible.

Just get the auth protected page like you get any other:

$ curl http://example.com/page-I-dont-have-auth-to-see.html -o 401page.html

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
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-10-14