diff options
author | Jacek Antonelli | 2008-10-17 20:01:38 -0500 |
---|---|---|
committer | Jacek Antonelli | 2008-10-17 20:01:38 -0500 |
commit | fdf944fb0355249d73c4e25ee86e9ffd378e7d4b (patch) | |
tree | 2e5c51fe0e6d5757f984721e01cc097801d927e7 /linden/indra/llcommon/llhttpstatuscodes.h | |
parent | Rebranded Windows-specific installer/support files. (diff) | |
parent | Updated source to SL version 1.21.6. (diff) | |
download | meta-impy-fdf944fb0355249d73c4e25ee86e9ffd378e7d4b.zip meta-impy-fdf944fb0355249d73c4e25ee86e9ffd378e7d4b.tar.gz meta-impy-fdf944fb0355249d73c4e25ee86e9ffd378e7d4b.tar.bz2 meta-impy-fdf944fb0355249d73c4e25ee86e9ffd378e7d4b.tar.xz |
Merge branch 'merge-1.21.6' into rebranding
Conflicts:
linden/indra/newview/installers/windows/installer_template.nsi
linden/indra/newview/llappviewer.cpp
Diffstat (limited to 'linden/indra/llcommon/llhttpstatuscodes.h')
-rw-r--r-- | linden/indra/llcommon/llhttpstatuscodes.h | 94 |
1 files changed, 94 insertions, 0 deletions
diff --git a/linden/indra/llcommon/llhttpstatuscodes.h b/linden/indra/llcommon/llhttpstatuscodes.h new file mode 100644 index 0000000..2eb1c39 --- /dev/null +++ b/linden/indra/llcommon/llhttpstatuscodes.h | |||
@@ -0,0 +1,94 @@ | |||
1 | /** | ||
2 | * @file llhttpstatuscodes.h | ||
3 | * @brief Constants for HTTP status codes | ||
4 | * | ||
5 | * $LicenseInfo:firstyear=2001&license=viewergpl$ | ||
6 | * | ||
7 | * Copyright (c) 2001-2008, Linden Research, Inc. | ||
8 | * | ||
9 | * Second Life Viewer Source Code | ||
10 | * The source code in this file ("Source Code") is provided by Linden Lab | ||
11 | * to you under the terms of the GNU General Public License, version 2.0 | ||
12 | * ("GPL"), unless you have obtained a separate licensing agreement | ||
13 | * ("Other License"), formally executed by you and Linden Lab. Terms of | ||
14 | * the GPL can be found in doc/GPL-license.txt in this distribution, or | ||
15 | * online at http://secondlifegrid.net/programs/open_source/licensing/gplv2 | ||
16 | * | ||
17 | * There are special exceptions to the terms and conditions of the GPL as | ||
18 | * it is applied to this Source Code. View the full text of the exception | ||
19 | * in the file doc/FLOSS-exception.txt in this software distribution, or | ||
20 | * online at http://secondlifegrid.net/programs/open_source/licensing/flossexception | ||
21 | * | ||
22 | * By copying, modifying or distributing this software, you acknowledge | ||
23 | * that you have read and understood your obligations described above, | ||
24 | * and agree to abide by those obligations. | ||
25 | * | ||
26 | * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO | ||
27 | * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, | ||
28 | * COMPLETENESS OR PERFORMANCE. | ||
29 | * $/LicenseInfo$ | ||
30 | */ | ||
31 | |||
32 | #ifndef LL_HTTP_STATUS_CODES_H | ||
33 | #define LL_HTTP_STATUS_CODES_H | ||
34 | |||
35 | #include "stdtypes.h" | ||
36 | |||
37 | // Standard errors from HTTP spec: | ||
38 | // http://www.w3.org/Protocols/rfc2616/rfc2616-sec6.html#sec6.1 | ||
39 | const S32 HTTP_CONTINUE = 100; | ||
40 | const S32 HTTP_SWITCHING_PROTOCOLS = 101; | ||
41 | |||
42 | // Success | ||
43 | const S32 HTTP_OK = 200; | ||
44 | const S32 HTTP_CREATED = 201; | ||
45 | const S32 HTTP_ACCEPTED = 202; | ||
46 | const S32 HTTP_NON_AUTHORITATIVE_INFORMATION = 203; | ||
47 | const S32 HTTP_NO_CONTENT = 204; | ||
48 | const S32 HTTP_RESET_CONTENT = 205; | ||
49 | const S32 HTTP_PARTIAL_CONTENT = 206; | ||
50 | |||
51 | // Redirection | ||
52 | const S32 HTTP_MULTIPLE_CHOICES = 300; | ||
53 | const S32 HTTP_MOVED_PERMANENTLY = 301; | ||
54 | const S32 HTTP_FOUND = 302; | ||
55 | const S32 HTTP_SEE_OTHER = 303; | ||
56 | const S32 HTTP_NOT_MODIFIED = 304; | ||
57 | const S32 HTTP_USE_PROXY = 305; | ||
58 | const S32 HTTP_TEMPORARY_REDIRECT = 307; | ||
59 | |||
60 | // Client Error | ||
61 | const S32 HTTP_BAD_REQUEST = 400; | ||
62 | const S32 HTTP_UNAUTHORIZED = 401; | ||
63 | const S32 HTTP_PAYMENT_REQUIRED = 402; | ||
64 | const S32 HTTP_FORBIDDEN = 403; | ||
65 | const S32 HTTP_NOT_FOUND = 404; | ||
66 | const S32 HTTP_METHOD_NOT_ALLOWED = 405; | ||
67 | const S32 HTTP_NOT_ACCEPTABLE = 406; | ||
68 | const S32 HTTP_PROXY_AUTHENTICATION_REQUIRED = 407; | ||
69 | const S32 HTTP_REQUEST_TIME_OUT = 408; | ||
70 | const S32 HTTP_CONFLICT = 409; | ||
71 | const S32 HTTP_GONE = 410; | ||
72 | const S32 HTTP_LENGTH_REQUIRED = 411; | ||
73 | const S32 HTTP_PRECONDITION_FAILED = 412; | ||
74 | const S32 HTTP_REQUEST_ENTITY_TOO_LARGE = 413; | ||
75 | const S32 HTTP_REQUEST_URI_TOO_LARGE = 414; | ||
76 | const S32 HTTP_UNSUPPORTED_MEDIA_TYPE = 415; | ||
77 | const S32 HTTP_REQUESTED_RANGE_NOT_SATISFIABLE = 416; | ||
78 | const S32 HTTP_EXPECTATION_FAILED = 417; | ||
79 | |||
80 | // Server Error | ||
81 | const S32 HTTP_INTERNAL_SERVER_ERROR = 500; | ||
82 | const S32 HTTP_NOT_IMPLEMENTED = 501; | ||
83 | const S32 HTTP_BAD_GATEWAY = 502; | ||
84 | const S32 HTTP_SERVICE_UNAVAILABLE = 503; | ||
85 | const S32 HTTP_GATEWAY_TIME_OUT = 504; | ||
86 | const S32 HTTP_VERSION_NOT_SUPPORTED = 505; | ||
87 | |||
88 | // We combine internal process errors with status codes | ||
89 | // These status codes should not be sent over the wire | ||
90 | // and indicate something went wrong internally. | ||
91 | // If you get these they are not normal. | ||
92 | const S32 HTTP_INTERNAL_ERROR = 499; | ||
93 | |||
94 | #endif | ||