[其他]代码库
//////////////////翻译/////////////////////
/ /信息1 xx
100 = >“继续”,
101 = >“切换协议”,
/ /成功2 xx
200 = >“OK”,
201 = >“创建”,
202 = >“接受”,
203 = >“权力性信息”,
204 = >没有内容,
205 = >“重置内容”,
206 = >部分内容,
/ /重定向3 xx
300 = >多个选择,
301 = >永久重定向,
302 = > '暂时重定向',// 1.1
303 = >看到其他的,
304 = >不修改,
305 = >“使用代理”,
/ / 306弃用,但保留
307 = >“临时重定向”,
/ /客户端错误4 xx
400 = >“错误请求”,
401 = >“未经授权的”,
402 = >付款要求,
403 = >“禁止”,
404 = >“没有找到”,
405 = >方法不允许,
406 = >“不可接受的”,
407 = >代理身份验证要求,
408 = >“请求超时”,
409 = >“冲突”,
410 = >“消失”,
411 = >所需长度,
412 = >“先决条件失败”,
413 = >“请求实体太大”,
414 = >要求通用太长,
415 = >“不支持的媒体类型”,
416 = > '请求范围不可以满足的,
417 = >“期望失败”,
/ /服务器错误5 xx
500 = >“内部服务器错误”,
501 = >“未实现”,
502 = >“错误网关”,
503 = >服务不可用,
504 = >“网关超时”,
505 = > HTTP版本不支持,
509 = > '带宽限制超过的
//////////////////英文版/////////////////////
// Informational 1xx
100 => 'Continue',
101 => 'Switching Protocols',
// Success 2xx
200 => 'OK',
201 => 'Created',
202 => 'Accepted',
203 => 'Non-Authoritative Information',
204 => 'No Content',
205 => 'Reset Content',
206 => 'Partial Content',
// Redirection 3xx
300 => 'Multiple Choices',
301 => 'Moved Permanently',
302 => 'Moved Temporarily ', // 1.1
303 => 'See Other',
304 => 'Not Modified',
305 => 'Use Proxy',
// 306 is deprecated but reserved
307 => 'Temporary Redirect',
// Client Error 4xx
400 => 'Bad Request',
401 => 'Unauthorized',
402 => 'Payment Required',
403 => 'Forbidden',
404 => 'Not Found',
405 => 'Method Not Allowed',
406 => 'Not Acceptable',
407 => 'Proxy Authentication Required',
408 => 'Request Timeout',
409 => 'Conflict',
410 => 'Gone',
411 => 'Length Required',
412 => 'Precondition Failed',
413 => 'Request Entity Too Large',
414 => 'Request-URI Too Long',
415 => 'Unsupported Media Type',
416 => 'Requested Range Not Satisfiable',
417 => 'Expectation Failed',
// Server Error 5xx
500 => 'Internal Server Error',
501 => 'Not Implemented',
502 => 'Bad Gateway',
503 => 'Service Unavailable',
504 => 'Gateway Timeout',
505 => 'HTTP Version Not Supported',
509 => 'Bandwidth Limit Exceeded'