Sort out the value of xmlHttp.status (http status table)
status code | status code | significance | Paraphrase |
100
|
1xx (Provisional Response) status codes that indicate a provisional response and require the requester to continue the operation. |
continue
|
The client should continue sending requests
|
101
|
switch protocol | The requester has asked the server to switch protocols, the server has confirmed and is ready to switch | |
200
|
|
success | The server has successfully processed the request |
201 | created | The request was successful and the server created a new resource | |
202 | accepted | The server has accepted the request but has not yet processed it | |
203 | Unauthorized Information | The server has successfully processed the request, but the returned information may have come from another source | |
204 | no content | The server successfully processed the request but returned nothing | |
205 | reset content |
The server successfully processed the request, the requester must reset the document view
|
|
206 | Part | The server has successfully processed part of the GET request | |
300 | 3xx (redirect) indicates that further action is required to complete the request. Typically, these status codes are used for redirection. |
multiple choices | The requested resource has a range of optional feedback information |
301 | Move permanently | The requested page has been permanently moved to a new location | |
302 | move temporarily | The requested resource now temporarily responds to the request from a different URI | |
303 | View other locations | Clients should use GET to access another URI | |
304 | unmodified | The requested page has not been modified since the last request | |
305 | use a proxy | The requester can only use the proxy to access the requested webpage | |
307 | Temporary redirect | The requested resource is now temporarily responding to the request from a different URI, but the requester should continue to use the original location for future requests. | |
400 | 4xx (Request Error) These status codes indicate that the request may have gone wrong, preventing the server from processing it. | bad request | The server does not understand the syntax of the request |
401 | unauthorized | Request requires authentication | |
402 | This status code is reserved for possible future needs. | ||
403 | prohibit | Server rejects request | |
404 | not found | The server cannot find the requested webpage | |
405 | method disabled | Disable the method specified in the request | |
406 | do not accept | Unable to respond to the requested webpage with the requested content attribute | |
407 | Proxy authorization required | This status code is similar to 401 (Unauthorized), but specifies that the requester should be authorized to use the proxy | |
408 | 请求超时 | 服务器等候请求时发生超时 | |
409 | 冲突 | 由于和被请求的资源的当前状态之间存在冲突,请求无法完成 | |
410 | 已删除 | 请求的资源已永久删除 | |
411 | 需要有效长度 | 服务器不接受不含有效内容长度标头字段的请求 | |
412 | 未满足前提条件 | 服务器未满足请求者在请求中设置的其中一个前提条件 | |
413 | 请求实体过大 | 服务器无法处理请求,因为请求实体过大 | |
414 | 请求的 URI 过长 | 请求的 URI(通常为网址)过长,服务器无法处理 | |
415 | 不支持的媒体类型 | 请求的格式不受请求页面的支持 | |
416 | 请求范围不符合要求 | 页面无法提供请求的范围,即Range请求头字段 | |
417 | 未满足期望值 | 服务器未满足Expect”期望”请求标头字段的要求 | |
500 | 5xx (服务器错误)这些状态代码表示服务器在尝试处理请求时发生内部错误。 这些错误可能是服务器本身的错误,而不是请求出错。 |
服务器内部错误 | 服务器遇到错误,无法完成请求 |
501 | 尚未实施 | 服务器不支持当前请求所需要的某个功能 | |
502 | 错误网关 | 服务器作为网关或代理,从上游服务器收到无效响应。 | |
503 | 服务不可用 | 服务器目前无法使用(由于超载或停机维护)。 通常,这只是暂时状态 | |
504 | 网关超时 | 服务器作为网关或代理,但是没有及时从上游服务器收到请求 | |
505 | HTTP 版本不受支持 | 服务器不支持,或者拒绝支持在请求中使用的 HTTP 版本 | |
509 | 带宽限制 | 服务器达到带宽限制 | |
600 | 源站没有返回响应头部,只返回实体内容 |