Add MIT license to System.dll
[mono.git] / mcs / class / System / System.Net / HttpStatusCode.cs
1 // HttpStatusCode.cs
2 //
3 // This code was automatically generated from
4 // ECMA CLI XML Library Specification.
5 // Generator: libgen.xsl [1.0; (C) Sergey Chaban (serge@wildwestsoftware.com)]
6 // Created: Wed, 5 Sep 2001 06:32:05 UTC
7 // Source file: AllTypes.xml
8 // URL: http://msdn.microsoft.com/net/ecma/AllTypes.xml
9 //
10 // (C) 2001 Ximian, Inc.  http://www.ximian.com
11
12 //
13 // Permission is hereby granted, free of charge, to any person obtaining
14 // a copy of this software and associated documentation files (the
15 // "Software"), to deal in the Software without restriction, including
16 // without limitation the rights to use, copy, modify, merge, publish,
17 // distribute, sublicense, and/or sell copies of the Software, and to
18 // permit persons to whom the Software is furnished to do so, subject to
19 // the following conditions:
20 // 
21 // The above copyright notice and this permission notice shall be
22 // included in all copies or substantial portions of the Software.
23 // 
24 // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
25 // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
26 // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
27 // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
28 // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
29 // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
30 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
31 //
32
33
34 namespace System.Net {
35
36
37         /// <summary>
38         /// </summary>
39         public enum HttpStatusCode {
40
41                 /// <summary>
42                 /// </summary>
43                 Continue = 100,
44
45                 /// <summary>
46                 /// </summary>
47                 SwitchingProtocols = 101,
48
49                 /// <summary>
50                 /// </summary>
51                 OK = 200,
52
53                 /// <summary>
54                 /// </summary>
55                 Created = 201,
56
57                 /// <summary>
58                 /// </summary>
59                 Accepted = 202,
60
61                 /// <summary>
62                 /// </summary>
63                 NonAuthoritativeInformation = 203,
64
65                 /// <summary>
66                 /// </summary>
67                 NoContent = 204,
68
69                 /// <summary>
70                 /// </summary>
71                 ResetContent = 205,
72
73                 /// <summary>
74                 /// </summary>
75                 PartialContent = 206,
76
77                 /// <summary>
78                 /// </summary>
79                 MultipleChoices = 300,
80
81                 /// <summary>
82                 /// </summary>
83                 Ambiguous = 300,
84
85                 /// <summary>
86                 /// </summary>
87                 MovedPermanently = 301,
88
89                 /// <summary>
90                 /// </summary>
91                 Moved = 301,
92
93                 /// <summary>
94                 /// </summary>
95                 Found = 302,
96
97                 /// <summary>
98                 /// </summary>
99                 Redirect = 302,
100
101                 /// <summary>
102                 /// </summary>
103                 SeeOther = 303,
104
105                 /// <summary>
106                 /// </summary>
107                 RedirectMethod = 303,
108
109                 /// <summary>
110                 /// </summary>
111                 NotModified = 304,
112
113                 /// <summary>
114                 /// </summary>
115                 UseProxy = 305,
116
117                 /// <summary>
118                 /// </summary>
119                 Unused = 306,
120
121                 /// <summary>
122                 /// </summary>
123                 TemporaryRedirect = 307,
124
125                 /// <summary>
126                 /// </summary>
127                 RedirectKeepVerb = 307,
128
129                 /// <summary>
130                 /// </summary>
131                 BadRequest = 400,
132
133                 /// <summary>
134                 /// </summary>
135                 Unauthorized = 401,
136
137                 /// <summary>
138                 /// </summary>
139                 PaymentRequired = 402,
140
141                 /// <summary>
142                 /// </summary>
143                 Forbidden = 403,
144
145                 /// <summary>
146                 /// </summary>
147                 NotFound = 404,
148
149                 /// <summary>
150                 /// </summary>
151                 MethodNotAllowed = 405,
152
153                 /// <summary>
154                 /// </summary>
155                 NotAcceptable = 406,
156
157                 /// <summary>
158                 /// </summary>
159                 ProxyAuthenticationRequired = 407,
160
161                 /// <summary>
162                 /// </summary>
163                 RequestTimeout = 408,
164
165                 /// <summary>
166                 /// </summary>
167                 Conflict = 409,
168
169                 /// <summary>
170                 /// </summary>
171                 Gone = 410,
172
173                 /// <summary>
174                 /// </summary>
175                 LengthRequired = 411,
176
177                 /// <summary>
178                 /// </summary>
179                 PreconditionFailed = 412,
180
181                 /// <summary>
182                 /// </summary>
183                 RequestEntityTooLarge = 413,
184
185                 /// <summary>
186                 /// </summary>
187                 RequestUriTooLong = 414,
188
189                 /// <summary>
190                 /// </summary>
191                 UnsupportedMediaType = 415,
192
193                 /// <summary>
194                 /// </summary>
195                 RequestedRangeNotSatisfiable = 416,
196
197                 /// <summary>
198                 /// </summary>
199                 ExpectationFailed = 417,
200
201                 /// <summary>
202                 /// </summary>
203                 InternalServerError = 500,
204
205                 /// <summary>
206                 /// </summary>
207                 NotImplemented = 501,
208
209                 /// <summary>
210                 /// </summary>
211                 BadGateway = 502,
212
213                 /// <summary>
214                 /// </summary>
215                 ServiceUnavailable = 503,
216
217                 /// <summary>
218                 /// </summary>
219                 GatewayTimeout = 504,
220
221                 /// <summary>
222                 /// </summary>
223                 HttpVersionNotSupported = 505,
224         } // HttpStatusCode
225
226 } // System.Net