cURL / Mailing Lists / curl-library / Single Mail

curl-library

http response codes in curl.h

From: Vasyl' <vvavrychuk_at_gmail.com>
Date: Wed, 10 Nov 2010 00:20:48 +0200

Hi,

I wonder if there is a reason why curl.h has no HTTP response codes defines
like

#define HTTP_STATUS_NOT_FOUND 404

cd /usr/include/curl
grep -r 404 .
gives nothing.

Ive meat several examples using 404 constant in source code but I think it
would be better to have define.

Regards,
Vasyl'

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