cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Server status code

From: Alexander Lazic <al-curllibrary_at_none.at>
Date: Thu, 20 Jul 2006 12:17:08 +0200

Hi,

On Don 20.07.2006 13:16, Frme wrote:
>
>Good afternoon,
>
>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.

http://curl.haxx.se/libcurl/c/curl_easy_getinfo.html =>
CURLINFO_RESPONSE_CODE

if you use the c api ;-)

If you mean the commandline tool => man curl => http_code

Hth & regards

Alex
Received on 2006-07-20