curl-users
Question about --referer parameter
Date: Sat, 23 Aug 2008 16:13:42 +0000
Hello,
Is it possible with curl and --referer to set an initial referer (static) and an ;auto referer for the page where I'm redirected from the initial page ?
This is an example:
I use the following command: curl --referer=http://www.example.com/file.html (file.html has a redirection to foobar.html)
So I will download http://www.example.com/file.html with --referer http://www.example.com, curl will send Referer:http://www.example.com
Let's suppose that file.html has a redirection to foobar.html
curl always use this referer: http://www.example.com/, however, I would like to this one: http://www.example.com/file.html
How can I do that ?
Regards.
_________________________________________________________________
Votre correspondant a choisi Hotmail, un e-mail ultra sécurisé. Créez le votre gratuitement !
http://www.windowslive.fr/hotmail/default.asp
-------------------------------------------------------------------
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 2008-08-23