cURL / Mailing Lists / curl-library / Single Mail

curl-library

how to know http server returns 302 and deal with it?

From: Basil Su <hityourface_at_gmail.com>
Date: Sat, 27 Feb 2010 15:59:32 +0800

help:
  i'm programming for fun using libcurl 7.19.5 in Linux/C. i'm confused that
if the http server returns 302, can i get it according curl_easy_getinfo()
? is the error code 0 or something else?
  thanks.

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2010-02-27