cURL
Haxx ad
libcurl

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-library Mailing List Archives

Re: curl_easy_getinfo problem : to retrieve the http error codes

From: Michael Hecker <Hecker.Michael_at_gmx.de>
Date: Fri, 21 Dec 2007 12:17:34 +0100

Hello Shilpi,
you didn't give me much information but I think this is what you are
looking for:

long code;
curl_easy_getinfo (curl_handle, CURLINFO_RESPONSE_CODE, &code);

CString a;
a.Format("Code: %d",code);
AfxMessageBox(a);

Michael

Shilpi Aggarwal schrieb:
>
>
>
> Hi
> Then which function should I use to return HTTP error codes (>300).
>
> Thanks
> --
> Shilpi Aggarwal
>
> "A scientist builds in order to learn;
> an engineer learns in order to build."
Received on 2007-12-21

These mail archives are generated by hypermail.

donate! Page updated November 12, 2010.
web site info

File upload with ASP.NET