1. 程式人生 > >HTTP STATUS錯誤報碼對照表

HTTP STATUS錯誤報碼對照表

HTTP錯誤報碼對照表HTTP Error Codes

400 Invalid syntax. 語法問題
401 Access denied. 訪問拒絕
402 Payment required. 必須完整
403 Request forbidden. 請求被禁止
404 Object not found. 物件沒有找到
405 Method is not allowed. 方法不允許
406 No response acceptable to client found. 客戶端沒有響應
407 Proxy authentication required. 代理需要驗證
408 Server timed out waiting for request. 等等請求時伺服器斷開連線
409 User should resubmit with more info. 有衝突使用者應該進行檢查
410 Resource is no longer available. 資源不可用
411 Server refused to accept request without a length. 伺服器拒絕接受沒有長度的請求
412 Precondition given in request failed. 放棄請求失敗的條件
413 Request entity was too large. 請求太大
414 Request Uniform Resource Identifier (URI) too long. 請求的URI 太長
415 Unsupported media type. 不支援MEDIA型別
449 Retry after doing the appropriate action. 在作了適當動作後重試
500 Internal server error. 伺服器內部錯誤
501 Server does not support the functionality required to fulfill the request. 伺服器不支援請求的功能
502 Error response received from gateway. 從閘道器收到錯誤應答
503 Temporarily overloaded. 過載
504 Timed out waiting for gateway. 等待閘道器時請求斷開
505 HTTP version not supported. 不支援HTTP的版本HTTP status codes returned by servers on the Internet. 從Internet返回的HTTP status程式碼(HTTP 狀態字)
HTTP_STATUS_CONTINUE (100)
The request can be continued. 請求不能被繼續
HTTP_STATUS_SWITCH_PROTOCOLS (101)
The server has switched protocols in an upgrade header. 通過新的header伺服器的協議被轉換了
HTTP_STATUS_OK (200)
The request completed successfully. 請求成功的完成
HTTP_STATUS_CREATED (201)
The request has been fulfilled and resulted in the creation of a new resource. 通過新的資源請求已經被完成
HTTP_STATUS_ACCEPTED (202)
The request has been accepted for processing, but the processing has not been completed. 請求已經被接受處理,但是處理還沒有完成
HTTP_STATUS_PARTIAL (203)
The returned meta information in the entity-header is not the definitive set available from the origin server. 從伺服器返回的在entity-header中的meta資訊是無效的
HTTP_STATUS_NO_CONTENT (204)
The server has fulfilled the request, but there is no new information to send back. 伺服器實現了請求,但是沒有返回資訊
HTTP_STATUS_RESET_CONTENT (205)
The request has been completed, and the client program should reset the document view that caused the request to be sent to allow the user to easily initiate another input action. 請求已經被完成,並且web程式(客戶端程式瀏覽器程式)已經重置了文件檢視目錄(content),這個目錄很容易允許使用者用另一個動作傳送請求
HTTP_STATUS_PARTIAL_CONTENT (206)
The server has fulfilled the partial GET request for the resource. 伺服器已經為資源完成了部分GET請求
HTTP_STATUS_AMBIGUOUS (300)
The server couldn't decide what to return. 伺服器不能判定返回什麼
HTTP_STATUS_MOVED (301)
The requested resource has been assigned to a new permanent URI (Uniform Resource Identifier), and any future references to this resource should be done using one of the returned URIs. 被請求的資源已經被分配給新的URI,並且以後引用時都使用這個URIs資源。
HTTP_STATUS_REDIRECT (302)
The requested resource resides temporarily under a different URI (Uniform Resource Identifier). 請求的資源臨時在不同的uri下
HTTP_STATUS_REDIRECT_METHOD (303)
The response to the request can be found under a different URI (Uniform Resource Identifier) and should be retrieved using a GET HTTP verb on that resource. 請求的資源不能在不同的uri下找到,並且從新使用GET HTTP在伺服器上從新檢索
HTTP_STATUS_NOT_MODIFIED (304)
The requested resource has not been modified. 請求的資源沒有被改變
HTTP_STATUS_USE_PROXY (305)
The requested resource must be accessed through the proxy given by the location field. 請求的資源必須通過特定的代理獲得
HTTP_STATUS_REDIRECT_KEEP_VERB (307)
The redirected request keeps the same HTTP verb. HTTP/1.1 behavior. 從定位請求,
HTTP_STATUS_BAD_REQUEST (400)
The request could not be processed by the server due to invalid syntax. 因為語法不能被伺服器處理
HTTP_STATUS_DENIED (401)
The requested resource requires user authentication. 請求資源命令必須被驗證(拒絕訪問)
HTTP_STATUS_PAYMENT_REQ (402)
Not currently implemented in the HTTP protocol. 沒有完全實現HTTP協議
HTTP_STATUS_FORBIDDEN (403)
The server understood the request, but is refusing to fulfill it. 伺服器理解了請求,但是拒絕完成他
HTTP_STATUS_NOT_FOUND (404)
The server has not found anything matching the requested URI (Uniform Resource Identifier). 沒有找到任何被指定的URI HTTP_STATUS_BAD_METHOD (405)
The HTTP verb used is not allowed.
Http動作不被允許
HTTP_STATUS_NONE_ACCEPTABLE (406)
No responses acceptable to the client were found. 應答沒有被客戶接受
HTTP_STATUS_PROXY_AUTH_REQ (407)
Proxy authentication required. 代理必須被驗證
HTTP_STATUS_REQUEST_TIMEOUT (408)
The server timed out waiting for the request. 伺服器在等待請求時中止了
HTTP_STATUS_CONFLICT (409)
The request could not be completed due to a conflict with the current state of the resource. The user should resubmit with more information. 請求不能被完成,問題是資源衝突。使用者應該進行調整
HTTP_STATUS_GONE (410)
The requested resource is no longer available at the server, and no forwarding address is known. 請求的資源在伺服器上不再可用,而且沒有轉發地址
HTTP_STATUS_LENGTH_REQUIRED (411)
The server refuses to accept the request without a defined content length. 伺服器拒絕接受沒有定義目錄大小的請求
HTTP_STATUS_PRECOND_FAILED (412)
The precondition given in one or more of the request header fields evaluated to false when it was tested on the server. 當在伺服器上測試請求標頭檔案放棄一個或者多個請求的條件
HTTP_STATUS_REQUEST_TOO_LARGE (413)
The server is refusing to process a request because the request entity is larger than the server is willing or able to process. 伺服器拒絕處理請求,原因是請求的大小超過伺服器能夠處理的大小
HTTP_STATUS_URI_TOO_LONG (414)
The server is refusing to service the request because the request URI (Uniform Resource Identifier) is longer than the server is willing to interpret. 伺服器拒絕服務,原因是請求的URI超過了伺服器能夠揭示的長度
HTTP_STATUS_UNSUPPORTED_MEDIA (415)
The server is refusing to service the request because the entity of the request is in a format not supported by the requested resource for the requested method. 伺服器拒絕服務,原因是請求格式不被支援
HTTP_STATUS_RETRY_WITH (449)
The request should be retried after doing the appropriate action. 在作了適當的動作後請求被重試
HTTP_STATUS_SERVER_ERROR (500)
The server encountered an unexpected condition that prevented it from fulfilling the request. 伺服器遇到請求失敗意外
HTTP_STATUS_NOT_SUPPORTED (501)
The server does not support the functionality required to fulfill the request. 伺服器不支援必須完成請求的功能
HTTP_STATUS_BAD_GATEWAY (502)
The server, while acting as a gateway or proxy, received an invalid response from the upstream server it accessed in attempting to fulfill the request. 伺服器當作為閘道器或代理時,從上行伺服器接受的響應請求失敗
HTTP_STATUS_SERVICE_UNAVAIL (503)
The service is temporarily overloaded. 伺服器負載
HTTP_STATUS_GATEWAY_TIMEOUT (504)
The request was timed out waiting for a gateway. 等待閘道器時請求斷開,沒有響應
HTTP_STATUS_VERSION_NOT_SUP (505)
The server does not support, or refuses to support, the HTTP protocol version that was used in the request message. 伺服器不支援或者拒絕支援正在使用請求的HTTP協議的版本