黑马 web服务器 代码
Informational
信息性
HTTP Error 100 – Continue HTTP Error 101 – Switching Protocols HTTP Error 102 – Processing
HTTP错误100 –继续HTTP错误101 –交换协议HTTP错误102 –处理
Successful
成功的
HTTP Error 200 – OK HTTP Error 201 – Created HTTP Error 202 – Accepted HTTP Error 203 – Non-Authoritative Information HTTP Error 204 – No Content HTTP Error 205 – Reset Content HTTP Error 206 – Partial Content
HTTP错误200 –确定HTTP错误201 –创建的HTTP错误202 –接受的HTTP错误203 –非权威信息HTTP错误204 –无内容HTTP错误205 –重置内容HTTP错误206 –部分内容
Redirection
重新导向
HTTP Error 300 – Multiple Choices HTTP Error 301 – Moved Permanently HTTP Error 302 – Found (default in mod_rewrite) HTTP Error 303 – See Other HTTP Error 304 – Not Modified HTTP Error 305 – Use Proxy HTTP Error 306 – Switch Proxy HTTP Error 307 – Temporary Redirect
HTTP错误300 –多项选择HTTP错误301 –永久移动HTTP错误302 –找到(默认为mod_rewrite)HTTP错误303 –请参阅其他HTTP错误304 –未修改HTTP错误305 –使用代理HTTP错误306 –切换代理HTTP错误307 –临时重定向
Client Error
客户端错误
HTTP Error 400 – Bad Request HTTP Error 401 – Unauthorized HTTP Error 402 – Payment Required HTTP Error 403 – Forbidden HTTP Error 404 – Not Found HTTP Error 405 – Method Not Allowed HTTP Error 406 – Not Acceptable HTTP Error 407 – Proxy Authentication Required HTTP Error 408 – Request timeout HTTP Error 409 – Conflict HTTP Error 410 – Gone HTTP Error 411 – Length Required HTTP Error 412 – Precondition Failed HTTP Error 413 – Request Entity Too Large HTTP Error 414 – Request-URI Too Long HTTP Error 415 – Unsupported Media Type HTTP Error 416 – Requested Range Not Satisfiable HTTP Error 417 – Expectation Failed
HTTP错误400 –错误的请求HTTP错误401 –未经授权的HTTP错误402 –需要付款HTTP错误403 –禁止的HTTP错误404 –未找到HTTP错误405 –不允许的方法HTTP错误406 –不可接受的HTTP错误407 –需要代理身份验证HTTP错误408 –请求超时HTTP错误409 –冲突HTTP错误410 –消失的HTTP错误411 –所需长度HTTP错误412 –前提条件失败HTTP错误413 –请求实体太大HTTP错误414 –请求URI太长HTTP错误415 –不支持的媒体类型HTTP错误416 –请求的范围不满足HTTP错误417 –预期失败
Server Error
服务器错误
HTTP Error 500 – Internal Server Error HTTP Error 501 – Not Implemented HTTP Error 502 – Bad Gateway HTTP Error 503 – Service Unavailable HTTP Error 504 – Gateway Timeout HTTP Error 505 – HTTP Version Not Supported
HTTP错误500 –内部服务器错误HTTP错误501 –未实现HTTP错误502 –网关错误HTTP错误503 –服务不可用HTTP错误504 –网关超时HTTP错误505 –不支持HTTP版本
The above HTTP Status Codes are bifurcated in to five different classes:
上面的HTTP状态代码分为五个不同的类:
Class 1 – HTTP Status Codes 100: The http status messages field 100 is for provisional replies to either inform the sending multipart messages, or change the protocol.
类别1 – HTTP状态代码100: http状态消息字段100用于临时答复,以通知发送的多部分消息或更改协议。
Class 2 – HTTP Status Codes 200: These codes are to notify the client that his requests are received correctly, understood or was accepted.
第2类-HTTP状态代码200:这些代码用于通知客户端其请求已正确接收,被理解或被接受。
Class 3 – HTTP Status Codes 300: These status codes indicates the forwarding (ie. redirects).
第3类-HTTP状态代码300:这些状态代码指示转发(即重定向)。
Class 4 – HTTP Status Codes 400: These http status codes are “Error” messages. A well-known status code known among them is 404 Not Found. If a search engine crawler found this error, one can assume that the URL has been removed from the dataset.
类别4 – HTTP状态代码400:这些http状态代码是“错误”消息。 其中一个众所周知的状态码是404 Not Found。 如果搜索引擎搜寻器发现此错误,则可以假定该URL已从数据集中删除。
Class 5 – HTTP Status Codes 500: These http status codes includes server error messages. If a search engine crawler found these class 5 codes, usually the crawler will come at a later date.
类别5 – HTTP状态代码500:这些http状态代码包括服务器错误消息。 如果搜索引擎搜寻器找到了这些5类代码,通常搜寻器会在以后出现。
翻译自: https://www.eukhost.com/blog/webhosting/http-web-server-status-codes-and-messages/
黑马 web服务器 代码