Hi, how I can get back url when I use the, InternetOpen, InternetConnect, HttpOpenRequest, HttpSendRequest

Suppose that the url "www.some.com/one.php" redirects to "www.some.com/two.php" as I can know that the destination url is "two.php"?

I try HttpQueryInfo, but it seems not be the way.