32#ifndef GENLIB_NET_HTTP_STATCODES_H
33#define GENLIB_NET_HTTP_STATCODES_H
37#define HTTP_CONTINUE 100
38#define HTTP_SWITCHING_PROCOTOLS 101
41#define HTTP_CREATED 201
42#define HTTP_ACCEPTED 202
43#define HTTP_NON_AUTHORATATIVE 203
44#define HTTP_NO_CONTENT 204
45#define HTTP_RESET_CONTENT 205
46#define HTTP_PARTIAL_CONTENT 206
48#define HTTP_MULTIPLE_CHOICES 300
49#define HTTP_MOVED_PERMANENTLY 301
51#define HTTP_SEE_OTHER 303
52#define HTTP_NOT_MODIFIED 304
53#define HTTP_USE_PROXY 305
54#define HTTP_UNUSED_3XX 306
55#define HTTP_TEMPORARY_REDIRECT 307
57#define HTTP_BAD_REQUEST 400
58#define HTTP_UNAUTHORIZED 401
59#define HTTP_PAYMENT_REQD 402
60#define HTTP_FORBIDDEN 403
61#define HTTP_NOT_FOUND 404
62#define HTTP_METHOD_NOT_ALLOWED 405
63#define HTTP_NOT_ACCEPTABLE 406
64#define HTTP_PROXY_AUTH_REQD 407
65#define HTTP_REQUEST_TIMEOUT 408
66#define HTTP_CONFLICT 409
68#define HTTP_LENGTH_REQUIRED 411
69#define HTTP_PRECONDITION_FAILED 412
70#define HTTP_REQ_ENTITY_TOO_LARGE 413
71#define HTTP_REQ_URI_TOO_LONG 414
72#define HTTP_UNSUPPORTED_MEDIA_TYPE 415
73#define HTTP_REQUEST_RANGE_NOT_SATISFIABLE 416
74#define HTTP_EXPECTATION_FAILED 417
76#define HTTP_INTERNAL_SERVER_ERROR 500
77#define HTTP_NOT_IMPLEMENTED 501
78#define HTTP_BAD_GATEWAY 502
79#define HTTP_SERVICE_UNAVAILABLE 503
80#define HTTP_GATEWAY_TIMEOUT 504
81#define HTTP_HTTP_VERSION_NOT_SUPPORTED 505
82#define HTTP_VARIANT_ALSO_NEGOTIATES 506
83#define HTTP_INSUFFICIENT_STORAGE 507
84#define HTTP_LOOP_DETECTED 508
85#define HTTP_NOT_EXTENDED 510
89#define HTTP_E_OUT_OF_MEMORY -2
90#define HTTP_E_BAD_MSG_FORMAT -3
91#define HTTP_E_TIMEDOUT -4
92#define HTTP_E_FILE_READ -5
111const char *http_get_code_text(
int statusCode);