cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: Downloading page source code

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Thu, 29 Jan 2009 16:36:25 +0100 (CET)

On Thu, 29 Jan 2009, Pedro wrote:

> Thanks Daniel, it worked like a charm. I looked in the man pages, but i
> didn't understand. Basically, what this options does in this case?

-L tells curl to follow HTTP redirects.

HTTP redirects are signalled by the presense of the Location: header and a 30x
response code.

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-users
FAQ:        http://curl.haxx.se/docs/faq.html
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2009-01-29