Haxx ad

curl's project page on


cURL > Mailing List > Monthly Index > Single Mail

curl-library Mailing List Archives

curl redirect

From: <>
Date: Wed, 26 Sep 2007 17:21:16 +0800

In my program, I use the curl_easy_setopt function with the
"CURLOPT_FOLLOWLOCATION" option set. When my progrm is redirected to another
location, how can I get the Location part in the HTTP header?

Should I set the CURLOPT_HEADERFUNCTION option, and parse the HTTP header to
get the "Location" option? I think this method is not effective, want your
Received on 2007-09-26

These mail archives are generated by hypermail.

donate! Page updated November 12, 2010.
web site info

File upload with ASP.NET