index.js 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. 'use strict';
  2. // https://github.com/nodejs/io.js/commit/8be6060020
  3. module.exports = {
  4. 100: 'Continue',
  5. 101: 'Switching Protocols',
  6. 102: 'Processing',
  7. 200: 'OK',
  8. 201: 'Created',
  9. 202: 'Accepted',
  10. 203: 'Non-Authoritative Information',
  11. 204: 'No Content',
  12. 205: 'Reset Content',
  13. 206: 'Partial Content',
  14. 207: 'Multi-Status',
  15. 300: 'Multiple Choices',
  16. 301: 'Moved Permanently',
  17. 302: 'Moved Temporarily',
  18. 303: 'See Other',
  19. 304: 'Not Modified',
  20. 305: 'Use Proxy',
  21. 307: 'Temporary Redirect',
  22. 308: 'Permanent Redirect',
  23. 400: 'Bad Request',
  24. 401: 'Unauthorized',
  25. 402: 'Payment Required',
  26. 403: 'Forbidden',
  27. 404: 'Not Found',
  28. 405: 'Method Not Allowed',
  29. 406: 'Not Acceptable',
  30. 407: 'Proxy Authentication Required',
  31. 408: 'Request Time-out',
  32. 409: 'Conflict',
  33. 410: 'Gone',
  34. 411: 'Length Required',
  35. 412: 'Precondition Failed',
  36. 413: 'Request Entity Too Large',
  37. 414: 'Request-URI Too Large',
  38. 415: 'Unsupported Media Type',
  39. 416: 'Requested Range Not Satisfiable',
  40. 417: 'Expectation Failed',
  41. 418: 'I\'m a teapot',
  42. 422: 'Unprocessable Entity',
  43. 423: 'Locked',
  44. 424: 'Failed Dependency',
  45. 425: 'Unordered Collection',
  46. 426: 'Upgrade Required',
  47. 428: 'Precondition Required',
  48. 429: 'Too Many Requests',
  49. 431: 'Request Header Fields Too Large',
  50. 500: 'Internal Server Error',
  51. 501: 'Not Implemented',
  52. 502: 'Bad Gateway',
  53. 503: 'Service Unavailable',
  54. 504: 'Gateway Time-out',
  55. 505: 'HTTP Version Not Supported',
  56. 506: 'Variant Also Negotiates',
  57. 507: 'Insufficient Storage',
  58. 509: 'Bandwidth Limit Exceeded',
  59. 510: 'Not Extended',
  60. 511: 'Network Authentication Required'
  61. };