cURL / Mailing Lists / curl-library / Single Mail

curl-library

redirection list

From: Arvind Sachdeva <asachdeva_at_gmail.com>
Date: Fri, 8 Jul 2005 19:06:41 +0530

I need to get a list of url's that were traversed (due to redirection)
to reach the current page ? To impelement this currently I am planning
to setup a header function and then add some parsing code and if the
status code is greter than 300 but less than 400, I will add the url
to locally maintained redirection list.

Is there a better way, to do this, because this parsing is already
done inside curl.

-Arvind Sachdeva.
Received on 2005-07-08