HttpStatusCode.cs 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226
  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 ([email protected])]
  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. // Permission is hereby granted, free of charge, to any person obtaining
  13. // a copy of this software and associated documentation files (the
  14. // "Software"), to deal in the Software without restriction, including
  15. // without limitation the rights to use, copy, modify, merge, publish,
  16. // distribute, sublicense, and/or sell copies of the Software, and to
  17. // permit persons to whom the Software is furnished to do so, subject to
  18. // the following conditions:
  19. //
  20. // The above copyright notice and this permission notice shall be
  21. // included in all copies or substantial portions of the Software.
  22. //
  23. // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
  24. // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
  25. // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
  26. // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
  27. // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
  28. // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
  29. // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
  30. //
  31. namespace System.Net {
  32. /// <summary>
  33. /// </summary>
  34. public enum HttpStatusCode {
  35. /// <summary>
  36. /// </summary>
  37. Continue = 100,
  38. /// <summary>
  39. /// </summary>
  40. SwitchingProtocols = 101,
  41. /// <summary>
  42. /// </summary>
  43. OK = 200,
  44. /// <summary>
  45. /// </summary>
  46. Created = 201,
  47. /// <summary>
  48. /// </summary>
  49. Accepted = 202,
  50. /// <summary>
  51. /// </summary>
  52. NonAuthoritativeInformation = 203,
  53. /// <summary>
  54. /// </summary>
  55. NoContent = 204,
  56. /// <summary>
  57. /// </summary>
  58. ResetContent = 205,
  59. /// <summary>
  60. /// </summary>
  61. PartialContent = 206,
  62. /// <summary>
  63. /// </summary>
  64. MultipleChoices = 300,
  65. /// <summary>
  66. /// </summary>
  67. Ambiguous = 300,
  68. /// <summary>
  69. /// </summary>
  70. MovedPermanently = 301,
  71. /// <summary>
  72. /// </summary>
  73. Moved = 301,
  74. /// <summary>
  75. /// </summary>
  76. Found = 302,
  77. /// <summary>
  78. /// </summary>
  79. Redirect = 302,
  80. /// <summary>
  81. /// </summary>
  82. SeeOther = 303,
  83. /// <summary>
  84. /// </summary>
  85. RedirectMethod = 303,
  86. /// <summary>
  87. /// </summary>
  88. NotModified = 304,
  89. /// <summary>
  90. /// </summary>
  91. UseProxy = 305,
  92. /// <summary>
  93. /// </summary>
  94. Unused = 306,
  95. /// <summary>
  96. /// </summary>
  97. TemporaryRedirect = 307,
  98. /// <summary>
  99. /// </summary>
  100. RedirectKeepVerb = 307,
  101. /// <summary>
  102. /// </summary>
  103. BadRequest = 400,
  104. /// <summary>
  105. /// </summary>
  106. Unauthorized = 401,
  107. /// <summary>
  108. /// </summary>
  109. PaymentRequired = 402,
  110. /// <summary>
  111. /// </summary>
  112. Forbidden = 403,
  113. /// <summary>
  114. /// </summary>
  115. NotFound = 404,
  116. /// <summary>
  117. /// </summary>
  118. MethodNotAllowed = 405,
  119. /// <summary>
  120. /// </summary>
  121. NotAcceptable = 406,
  122. /// <summary>
  123. /// </summary>
  124. ProxyAuthenticationRequired = 407,
  125. /// <summary>
  126. /// </summary>
  127. RequestTimeout = 408,
  128. /// <summary>
  129. /// </summary>
  130. Conflict = 409,
  131. /// <summary>
  132. /// </summary>
  133. Gone = 410,
  134. /// <summary>
  135. /// </summary>
  136. LengthRequired = 411,
  137. /// <summary>
  138. /// </summary>
  139. PreconditionFailed = 412,
  140. /// <summary>
  141. /// </summary>
  142. RequestEntityTooLarge = 413,
  143. /// <summary>
  144. /// </summary>
  145. RequestUriTooLong = 414,
  146. /// <summary>
  147. /// </summary>
  148. UnsupportedMediaType = 415,
  149. /// <summary>
  150. /// </summary>
  151. RequestedRangeNotSatisfiable = 416,
  152. /// <summary>
  153. /// </summary>
  154. ExpectationFailed = 417,
  155. /// <summary>
  156. /// </summary>
  157. InternalServerError = 500,
  158. /// <summary>
  159. /// </summary>
  160. NotImplemented = 501,
  161. /// <summary>
  162. /// </summary>
  163. BadGateway = 502,
  164. /// <summary>
  165. /// </summary>
  166. ServiceUnavailable = 503,
  167. /// <summary>
  168. /// </summary>
  169. GatewayTimeout = 504,
  170. /// <summary>
  171. /// </summary>
  172. HttpVersionNotSupported = 505,
  173. } // HttpStatusCode
  174. } // System.Net