diff options
author | Thomas E. Dickey <dickey@invisible-island.net> | 1999-01-28 16:47:38 -0500 |
---|---|---|
committer | Thomas E. Dickey <dickey@invisible-island.net> | 1999-01-28 16:47:38 -0500 |
commit | 87434eaa074d789f65bac589b03df341e76e7a4e (patch) | |
tree | 2882679a9a50807168042d9b26aea6b562e356d7 /WWW/Library/Implementation/HTUtils.h | |
parent | d97a65137382daf2f896a947ba680c095f7ab664 (diff) | |
download | lynx-snapshots-87434eaa074d789f65bac589b03df341e76e7a4e.tar.gz |
snapshot of project "lynx", label v2-8-2dev_15
Diffstat (limited to 'WWW/Library/Implementation/HTUtils.h')
-rw-r--r-- | WWW/Library/Implementation/HTUtils.h | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/WWW/Library/Implementation/HTUtils.h b/WWW/Library/Implementation/HTUtils.h index 63843de3..18f6d661 100644 --- a/WWW/Library/Implementation/HTUtils.h +++ b/WWW/Library/Implementation/HTUtils.h @@ -311,10 +311,13 @@ extern BOOL LYOutOfMemory; /* Declared in LYexit.c - FM */ Sucess (>=0) and failure (<0) codes +Some of the values are chosen to be HTTP-like, but status return values +are generally not the response status from any specific protocol. + */ -#define HT_REDIRECTING 29996 -#define HT_LOADED 29997 /* Instead of a socket */ +#define HT_REDIRECTING 399 +#define HT_LOADED 200 /* Instead of a socket */ #define HT_PARTIAL_CONTENT 206 /* Partial Content */ #define HT_INTERRUPTED -29998 #define HT_NOT_LOADED -29999 @@ -323,10 +326,13 @@ Sucess (>=0) and failure (<0) codes #define HT_ERROR -1 /* Generic failure */ #define HT_CANNOT_TRANSLATE -4 -#define HT_NO_ACCESS -10 /* Access not available */ -#define HT_FORBIDDEN -11 /* Access forbidden */ + #define HT_NO_DATA -204 /* OK but no data was loaded - */ /* possibly other app started or forked */ +#define HT_NO_ACCESS -401 /* Access not available */ +#define HT_FORBIDDEN -403 /* Access forbidden */ +#define HT_NOT_ACCEPTABLE -406 /* Not Acceptable */ + #define HT_INTERNAL -900 /* Weird -- should never happen. */ #define HT_BAD_EOF -12 /* Premature EOF */ |