cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Server status code

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Thu, 20 Jul 2006 12:12:59 +0200 (CEST)

On Thu, 20 Jul 2006, Frme wrote:

> Are there any way to receive server status code (200,503 ect.) on my
> request? I'm using a cURL-based Linux client. it's logic depends on returned
> from server status code.

Sure:
http://curl.haxx.se/libcurl/c/curl_easy_getinfo.html#CURLINFOREPSONSECODE

-- 
  Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
Received on 2006-07-20