cURL / Mailing Lists / curl-library / Single Mail

curl-library

can libcurl redirect automatically

From: xiao niu <xiaoniu732000_at_yahoo.com.cn>
Date: Tue, 17 Jun 2003 08:17:54 +0800 (CST)

Hi, all,
When i use IE to visit such website: http://www.joyo.com.cn/ProdSearch/prodsearch.asp?vname=linux&uid=suuszxsswugibgzsmsgsasxww, IE can display the right page, and the address is
http://www.joyo.com.cn/ProdSearch/searchstat.asp?vname=linux&uid=swasmzzpnqziypxspzgsagpgu.
 
But when i use libcurl, the page i got is:
 
<head><title>Object moved</title></head>
<body><h1>Object Moved</h1>This object may be found <a HREF="searchstat.asp?vnam
e=linux&uid=swusmwzxxsamlmspqzgsagpgw">here</a>.</body>
 
i think it's because the server redirected IE to the right page. is it right? can libcurl redirect automatically?
 
thanks in advance for any help.
 
xiaoniu

---------------------------------
Do You Yahoo!?
"流连网络世界的“你”是谁?

-------------------------------------------------------
This SF.Net email is sponsored by: INetU
Attention Web Developers & Consultants: Become An INetU Hosting Partner.
Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
Received on 2003-06-17