00001
00002
00003
00004
00005
00006
00007
00008
00009 #ifndef XSB_LIBWWW_PACKAGE
00010
00011 #define HT_OK 0
00012 #define HT_ALL 1
00013
00014 #define HT_CONTINUE 100
00015 #define HT_UPGRADE 101
00016
00017 #define HT_LOADED 200
00018 #define HT_CREATED 201
00019 #define HT_ACCEPTED 202
00020 #define HT_NON_AUTHORITATIVE 203
00021 #define HT_NO_DATA 204
00022 #define HT_RESET_CONTENT 205
00023 #define HT_PARTIAL_CONTENT 206
00024 #define HT_PARTIAL_OK 207
00025
00026 #define HT_MULTIPLE_CHOICES 300
00027 #define HT_PERM_REDIRECT 301
00028 #define HT_FOUND 302
00029 #define HT_SEE_OTHER 303
00030 #define HT_NOT_MODIFIED 304
00031 #define HT_USE_PROXY 305
00032 #define HT_PROXY_REDIRECT 306
00033 #define HT_TEMP_REDIRECT 307
00034
00035
00036 #define HT_IGNORE 900
00037 #define HT_CLOSED 901
00038 #define HT_PENDING 902
00039 #define HT_RELOAD 903
00040
00041 #define HT_ERROR -1
00042
00043 #define HT_BAD_REQUEST -400
00044 #define HT_NO_ACCESS -401
00045 #define HT_FORBIDDEN -403
00046 #define HT_NOT_FOUND -404
00047 #define HT_NOT_ALLOWED -405
00048 #define HT_NOT_ACCEPTABLE -406
00049 #define HT_NO_PROXY_ACCESS -407
00050 #define HT_CONFLICT -409
00051 #define HT_LENGTH_REQUIRED -411
00052 #define HT_PRECONDITION_FAILED -412
00053 #define HT_TOO_BIG -413
00054 #define HT_URI_TOO_BIG -414
00055 #define HT_UNSUPPORTED -415
00056 #define HT_BAD_RANGE -416
00057 #define HT_EXPECTATION_FAILED -417
00058 #define HT_REAUTH -418
00059 #define HT_PROXY_REAUTH -419
00060
00061 #define HT_SERVER_ERROR -500
00062 #define HT_NOT_IMPLEMENTED -501
00063 #define HT_BAD_GATEWAY -502
00064 #define HT_RETRY -503
00065 #define HT_GATEWAY_TIMEOUT -504
00066 #define HT_BAD_VERSION -505
00067 #define HT_PARTIAL_NOT_IMPLEMENTED -506
00068
00069 #define HT_INTERNAL -900
00070 #define HT_WOULD_BLOCK -901
00071 #define HT_INTERRUPTED -902
00072 #define HT_PAUSE -903
00073 #define HT_RECOVER_PIPE -904
00074 #define HT_TIMEOUT -905
00075 #define HT_NO_HOST -906
00076
00077 #endif
00078
00079
00080
00081 #define WWW_DOC_SYNTAX -2001
00082
00083 #define WWW_EXTERNAL_ENTITY -2002
00084 #define WWW_EXPIRED_DOC -2003
00085
00086 #define WWW_URI_SYNTAX -2004
00087