aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Servers
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Framework/Servers')
-rw-r--r--OpenSim/Framework/Servers/HttpServer/OSHttpStatusCodes.cs24
1 files changed, 22 insertions, 2 deletions
diff --git a/OpenSim/Framework/Servers/HttpServer/OSHttpStatusCodes.cs b/OpenSim/Framework/Servers/HttpServer/OSHttpStatusCodes.cs
index 3fc0832..a736c8b 100644
--- a/OpenSim/Framework/Servers/HttpServer/OSHttpStatusCodes.cs
+++ b/OpenSim/Framework/Servers/HttpServer/OSHttpStatusCodes.cs
@@ -28,9 +28,9 @@
28namespace OpenSim.Framework.Servers.HttpServer 28namespace OpenSim.Framework.Servers.HttpServer
29{ 29{
30 /// <summary> 30 /// <summary>
31 /// HTTP status codes (almost) as defined by W3C in http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html 31 /// HTTP status codes (almost) as defined by W3C in http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html and IETF in http://tools.ietf.org/html/rfc6585
32 /// </summary> 32 /// </summary>
33 public enum OSHttpStatusCode: int 33 public enum OSHttpStatusCode : int
34 { 34 {
35 #region 1xx Informational status codes providing a provisional response. 35 #region 1xx Informational status codes providing a provisional response.
36 36
@@ -216,6 +216,21 @@ namespace OpenSim.Framework.Servers.HttpServer
216 ClientErrorExpectationFailed = 417, 216 ClientErrorExpectationFailed = 417,
217 217
218 /// <summary> 218 /// <summary>
219 /// 428 Client error :The 428 status code indicates that the origin server requires the request to be conditional.
220 /// </summary>
221 ClientErrorPreconditionRequired = 428,
222
223 /// <summary>
224 /// 429 Client error: The 429 status code indicates that the user has sent too many requests in a given amount of time ("rate limiting").
225 /// </summary>
226 ClientErrorTooManyRequests = 429,
227
228 /// <summary>
229 /// 431 Client error: The 431 status code indicates that the server is unwilling to process the request because its header fields are too large. The request MAY be resubmitted after reducing the size of the request header fields.
230 /// </summary>
231 ClientErrorRequestHeaderFieldsTooLarge = 431,
232
233 /// <summary>
219 /// 499 Client error: Wildcard error. 234 /// 499 Client error: Wildcard error.
220 /// </summary> 235 /// </summary>
221 ClientErrorJoker = 499, 236 ClientErrorJoker = 499,
@@ -254,6 +269,11 @@ namespace OpenSim.Framework.Servers.HttpServer
254 /// </summary> 269 /// </summary>
255 ServerErrorHttpVersionNotSupported = 505, 270 ServerErrorHttpVersionNotSupported = 505,
256 271
272 /// <summary>
273 /// 511 Server error: The 511 status code indicates that the client needs to authenticate to gain network access.
274 /// </summary>
275 ServerErrorNetworkAuthenticationRequired = 511,
276
257 #endregion 277 #endregion
258 } 278 }
259} 279}